OR-Tools  9.6
cvrptw_with_time_dependent_costs.cc File Reference

Go to the source code of this file.

Classes

class  PolyaUrn
 
class  TrafficTransitionEvaluator
 

Functions

 ABSL_FLAG (int, vrp_orders, 25, "Nodes in the problem.")
 
 ABSL_FLAG (int, vrp_vehicles, 10, "Size of Traveling Salesman Problem instance.")
 
 ABSL_FLAG (bool, vrp_use_deterministic_random_seed, false, "Use deterministic random seeds.")
 
 ABSL_FLAG (std::string, routing_search_parameters, "", "Text proto RoutingSearchParameters (possibly partial) that will " "override the DefaultRoutingSearchParameters()")
 
StepFunction RandomStepFunction (int64_t mean, int64_t step_size, int64_t interval_end, int seed)
 
int main (int argc, char **argv)
 

Variables

static const char kTime [] = "Time"
 
static const char kCapacity [] = "Capacity"
 
static const char kTimeDepedentCost [] = "TimeDependentCost"
 

Function Documentation

◆ ABSL_FLAG() [1/4]

ABSL_FLAG ( bool  ,
vrp_use_deterministic_random_seed  ,
false  ,
"Use deterministic random seeds."   
)

◆ ABSL_FLAG() [2/4]

ABSL_FLAG ( int  ,
vrp_orders  ,
25  ,
"Nodes in the problem."   
)

◆ ABSL_FLAG() [3/4]

ABSL_FLAG ( int  ,
vrp_vehicles  ,
10  ,
"Size of Traveling Salesman Problem instance."   
)

◆ ABSL_FLAG() [4/4]

ABSL_FLAG ( std::string  ,
routing_search_parameters  ,
""  ,
"Text proto RoutingSearchParameters (possibly partial) that will " "override the DefaultRoutingSearchParameters()"   
)

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 147 of file cvrptw_with_time_dependent_costs.cc.

◆ RandomStepFunction()

StepFunction RandomStepFunction ( int64_t  mean,
int64_t  step_size,
int64_t  interval_end,
int  seed 
)

Definition at line 103 of file cvrptw_with_time_dependent_costs.cc.

Variable Documentation

◆ kCapacity

const char kCapacity[] = "Capacity"
static

Definition at line 63 of file cvrptw_with_time_dependent_costs.cc.

◆ kTime

const char kTime[] = "Time"
static

Definition at line 62 of file cvrptw_with_time_dependent_costs.cc.

◆ kTimeDepedentCost

const char kTimeDepedentCost[] = "TimeDependentCost"
static

Definition at line 64 of file cvrptw_with_time_dependent_costs.cc.