Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.constraintsolver.RoutingModel.RouteDimensionTravelInfo Class Reference

Classes

class  TransitionInfo
 

Public Member Functions

 RouteDimensionTravelInfo (long cPtr, boolean cMemoryOwn)
 
synchronized void delete ()
 
void setTransition_info (SWIGTYPE_p_std__vectorT_operations_research__RoutingModel__RouteDimensionTravelInfo__TransitionInfo_t value)
 
SWIGTYPE_p_std__vectorT_operations_research__RoutingModel__RouteDimensionTravelInfo__TransitionInfo_t getTransition_info ()
 
void setTravel_cost_coefficient (long value)
 
long getTravel_cost_coefficient ()
 
String toString (String line_prefix)
 
String toString ()
 
 RouteDimensionTravelInfo ()
 

Static Public Member Functions

static long getCPtr (RouteDimensionTravelInfo obj)
 
static long swigRelease (RouteDimensionTravelInfo obj)
 

Protected Member Functions

void finalize ()
 

Protected Attributes

transient boolean swigCMemOwn
 

Detailed Description

Contains the information needed by the solver to optimize a dimension's
cumuls with travel-start dependent transit values.

Definition at line 1824 of file RoutingModel.java.

Constructor & Destructor Documentation

◆ RouteDimensionTravelInfo() [1/2]

com.google.ortools.constraintsolver.RoutingModel.RouteDimensionTravelInfo.RouteDimensionTravelInfo ( long cPtr,
boolean cMemoryOwn )

Definition at line 1828 of file RoutingModel.java.

◆ RouteDimensionTravelInfo() [2/2]

com.google.ortools.constraintsolver.RoutingModel.RouteDimensionTravelInfo.RouteDimensionTravelInfo ( )

Definition at line 2153 of file RoutingModel.java.

Member Function Documentation

◆ delete()

synchronized void com.google.ortools.constraintsolver.RoutingModel.RouteDimensionTravelInfo.delete ( )

Definition at line 1854 of file RoutingModel.java.

◆ finalize()

void com.google.ortools.constraintsolver.RoutingModel.RouteDimensionTravelInfo.finalize ( )
protected

Definition at line 1850 of file RoutingModel.java.

◆ getCPtr()

static long com.google.ortools.constraintsolver.RoutingModel.RouteDimensionTravelInfo.getCPtr ( RouteDimensionTravelInfo obj)
static

Definition at line 1833 of file RoutingModel.java.

◆ getTransition_info()

SWIGTYPE_p_std__vectorT_operations_research__RoutingModel__RouteDimensionTravelInfo__TransitionInfo_t com.google.ortools.constraintsolver.RoutingModel.RouteDimensionTravelInfo.getTransition_info ( )

For each node #i on the route, transition_info[i] contains the relevant
information for the travel between nodes #i and #(i + 1) on the route.

Definition at line 2126 of file RoutingModel.java.

◆ getTravel_cost_coefficient()

long com.google.ortools.constraintsolver.RoutingModel.RouteDimensionTravelInfo.getTravel_cost_coefficient ( )

The cost per unit of travel for this vehicle.

Definition at line 2141 of file RoutingModel.java.

◆ setTransition_info()

void com.google.ortools.constraintsolver.RoutingModel.RouteDimensionTravelInfo.setTransition_info ( SWIGTYPE_p_std__vectorT_operations_research__RoutingModel__RouteDimensionTravelInfo__TransitionInfo_t value)

For each node #i on the route, transition_info[i] contains the relevant
information for the travel between nodes #i and #(i + 1) on the route.

Definition at line 2118 of file RoutingModel.java.

◆ setTravel_cost_coefficient()

void com.google.ortools.constraintsolver.RoutingModel.RouteDimensionTravelInfo.setTravel_cost_coefficient ( long value)

The cost per unit of travel for this vehicle.

Definition at line 2134 of file RoutingModel.java.

◆ swigRelease()

static long com.google.ortools.constraintsolver.RoutingModel.RouteDimensionTravelInfo.swigRelease ( RouteDimensionTravelInfo obj)
static

Definition at line 1837 of file RoutingModel.java.

◆ toString() [1/2]

String com.google.ortools.constraintsolver.RoutingModel.RouteDimensionTravelInfo.toString ( )

Definition at line 2149 of file RoutingModel.java.

◆ toString() [2/2]

String com.google.ortools.constraintsolver.RoutingModel.RouteDimensionTravelInfo.toString ( String line_prefix)

Definition at line 2145 of file RoutingModel.java.

Member Data Documentation

◆ swigCMemOwn

transient boolean com.google.ortools.constraintsolver.RoutingModel.RouteDimensionTravelInfo.swigCMemOwn
protected

Definition at line 1826 of file RoutingModel.java.


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