Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::ServiceTimePlusTransition Class Reference

Service time (proportional to demand) + transition time callback. More...

Detailed Description

Service time (proportional to demand) + transition time callback.

Definition at line 96 of file cvrptw_lib.h.

#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

Constructor & Destructor Documentation

◆ ServiceTimePlusTransition()

operations_research::ServiceTimePlusTransition::ServiceTimePlusTransition ( int64_t time_per_demand_unit,
operations_research::RoutingNodeEvaluator2 demand,
operations_research::RoutingNodeEvaluator2 transition_time )

Definition at line 140 of file cvrptw_lib.cc.

Member Function Documentation

◆ Compute()

int64_t operations_research::ServiceTimePlusTransition::Compute ( RoutingIndexManager::NodeIndex from,
RoutingIndexManager::NodeIndex to ) const

Definition at line 147 of file cvrptw_lib.cc.


The documentation for this class was generated from the following files: