Google OR-Tools v9.11
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...

#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
 

Detailed Description

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

Definition at line 93 of file cvrptw_lib.h.

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 135 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 142 of file cvrptw_lib.cc.


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