Generated on: Thu Mar 29 07:46:58 PDT 2012 for custom file set | ||
|
||
#include <vector>
#include "base/callback.h"
#include "base/commandlineflags.h"
#include "base/integral_types.h"
#include "base/logging.h"
#include "base/scoped_ptr.h"
#include "base/stringprintf.h"
#include "constraint_solver/routing.h"
#include "base/random.h"
Go to the source code of this file.
Classes | |
class | LocationContainer |
Location container, contains positions of orders and can be used to obtain Manhattan distances/times between locations. More... | |
class | LocationContainer::Location |
class | RandomDemand |
Random demand. More... | |
class | ServiceTimePlusTransition |
Service time (proportional to demand) + transition time callback. More... | |
Functions | |
DEFINE_int32 (vrp_orders, 100,"Nodes in the problem.") | |
DEFINE_int32 (vrp_vehicles, 20,"Size of Traveling Salesman Problem instance.") | |
DEFINE_bool (vrp_use_deterministic_random_seed, false,"Use deterministic random seeds.") | |
int32 | GetSeed () |
Random seed generator. | |
void | DisplayPlan (const RoutingModel &routing, const Assignment &plan) |
Route plan displayer. | |
int | main (int argc, char **argv) |
Variables | |
const char * | kTime = "Time" |
const char * | kCapacity = "Capacity" |
DEFINE_bool | ( | vrp_use_deterministic_random_seed | , | |
false | , | |||
"Use deterministic random seeds." | ||||
) |
DEFINE_int32 | ( | vrp_vehicles | , | |
20 | , | |||
"Size of Traveling Salesman Problem instance." | ||||
) |
DEFINE_int32 | ( | vrp_orders | , | |
100 | , | |||
"Nodes in the problem." | ||||
) |
void DisplayPlan | ( | const RoutingModel & | routing, | |
const Assignment & | plan | |||
) |