Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Service time (proportional to demand) + transition time callback. More...
#include <cvrptw_lib.h>
Public Member Functions | |
ServiceTimePlusTransition (int64_t time_per_demand_unit, operations_research::RoutingNodeEvaluator2 demand, operations_research::RoutingNodeEvaluator2 transition_time) | |
int64_t | Compute (RoutingIndexManager::NodeIndex from, RoutingIndexManager::NodeIndex to) const |
Service time (proportional to demand) + transition time callback.
Definition at line 93 of file cvrptw_lib.h.
operations_research::ServiceTimePlusTransition::ServiceTimePlusTransition | ( | int64_t | time_per_demand_unit, |
operations_research::RoutingNodeEvaluator2 | demand, | ||
operations_research::RoutingNodeEvaluator2 | transition_time ) |
Definition at line 135 of file cvrptw_lib.cc.
int64_t operations_research::ServiceTimePlusTransition::Compute | ( | RoutingIndexManager::NodeIndex | from, |
RoutingIndexManager::NodeIndex | to ) const |
Definition at line 142 of file cvrptw_lib.cc.