Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty Enum Reference

Detailed Description

Properties used to select in which order nodes or node pairs are considered
in insertion heuristics.

Protobuf enum operations_research.LocalCheapestInsertionParameters.InsertionSortingProperty

Definition at line 241 of file LocalCheapestInsertionParameters.java.

Inheritance diagram for com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty:

Public Member Functions

final int getNumber ()
final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor ()
final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType ()

Static Public Member Functions

 [static initializer]
static InsertionSortingProperty valueOf (int value)
static InsertionSortingProperty forNumber (int value)
static com.google.protobuf.Internal.EnumLiteMap< InsertionSortingProperty > internalGetValueMap ()
static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor ()
static InsertionSortingProperty valueOf (com.google.protobuf.Descriptors.EnumValueDescriptor desc)

Public Attributes

 SORTING_PROPERTY_UNSPECIFIED =(0)
 SORTING_PROPERTY_ALLOWED_VEHICLES =(1)
 SORTING_PROPERTY_PENALTY =(2)
 SORTING_PROPERTY_PENALTY_OVER_ALLOWED_VEHICLES_RATIO =(3)
 SORTING_PROPERTY_HIGHEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS =(4)
 SORTING_PROPERTY_LOWEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS =(5)
 SORTING_PROPERTY_LOWEST_MIN_ARC_COST_TO_VEHICLE_START_ENDS =(6)
 SORTING_PROPERTY_HIGHEST_DIMENSION_USAGE =(7)
 SORTING_PROPERTY_RANDOM =(8)
 UNRECOGNIZED =(-1)

Static Public Attributes

static final int SORTING_PROPERTY_UNSPECIFIED_VALUE = 0
static final int SORTING_PROPERTY_ALLOWED_VEHICLES_VALUE = 1
static final int SORTING_PROPERTY_PENALTY_VALUE = 2
static final int SORTING_PROPERTY_PENALTY_OVER_ALLOWED_VEHICLES_RATIO_VALUE = 3
static final int SORTING_PROPERTY_HIGHEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS_VALUE = 4
static final int SORTING_PROPERTY_LOWEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS_VALUE = 5
static final int SORTING_PROPERTY_LOWEST_MIN_ARC_COST_TO_VEHICLE_START_ENDS_VALUE = 6
static final int SORTING_PROPERTY_HIGHEST_DIMENSION_USAGE_VALUE = 7
static final int SORTING_PROPERTY_RANDOM_VALUE = 8

Member Function Documentation

◆ [static initializer]()

com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty.[static initializer]
static

◆ forNumber()

InsertionSortingProperty com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty.forNumber ( int value)
static
Parameters
valueThe numeric wire value of the corresponding enum entry.
Returns
The enum associated with the given numeric wire value.

Definition at line 431 of file LocalCheapestInsertionParameters.java.

◆ getDescriptor()

com.google.protobuf.Descriptors.EnumDescriptor com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty.getDescriptor ( )
static

Definition at line 471 of file LocalCheapestInsertionParameters.java.

◆ getDescriptorForType()

final com.google.protobuf.Descriptors.EnumDescriptor com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty.getDescriptorForType ( )

Definition at line 467 of file LocalCheapestInsertionParameters.java.

◆ getNumber()

final int com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty.getNumber ( )

Definition at line 409 of file LocalCheapestInsertionParameters.java.

◆ getValueDescriptor()

final com.google.protobuf.Descriptors.EnumValueDescriptor com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty.getValueDescriptor ( )

Definition at line 459 of file LocalCheapestInsertionParameters.java.

◆ internalGetValueMap()

com.google.protobuf.Internal.EnumLiteMap< InsertionSortingProperty > com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty.internalGetValueMap ( )
static

Definition at line 447 of file LocalCheapestInsertionParameters.java.

◆ valueOf() [1/2]

InsertionSortingProperty com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty.valueOf ( com.google.protobuf.Descriptors.EnumValueDescriptor desc)
static

Definition at line 477 of file LocalCheapestInsertionParameters.java.

◆ valueOf() [2/2]

InsertionSortingProperty com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty.valueOf ( int value)
static
Parameters
valueThe numeric wire value of the corresponding enum entry.
Returns
The enum associated with the given numeric wire value.
Deprecated
Use forNumber(int) instead.

Definition at line 423 of file LocalCheapestInsertionParameters.java.

Member Data Documentation

◆ SORTING_PROPERTY_ALLOWED_VEHICLES

com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty.SORTING_PROPERTY_ALLOWED_VEHICLES =(1)
Selects nodes with the least number of allowed vehicles.

SORTING_PROPERTY_ALLOWED_VEHICLES = 1;

Definition at line 258 of file LocalCheapestInsertionParameters.java.

◆ SORTING_PROPERTY_ALLOWED_VEHICLES_VALUE

final int com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty.SORTING_PROPERTY_ALLOWED_VEHICLES_VALUE = 1
static
Selects nodes with the least number of allowed vehicles.

SORTING_PROPERTY_ALLOWED_VEHICLES = 1;

Definition at line 346 of file LocalCheapestInsertionParameters.java.

◆ SORTING_PROPERTY_HIGHEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS

com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty.SORTING_PROPERTY_HIGHEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS =(4)
Selects nodes that are on average the farthest from vehicles.

SORTING_PROPERTY_HIGHEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS = 4;

Definition at line 283 of file LocalCheapestInsertionParameters.java.

◆ SORTING_PROPERTY_HIGHEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS_VALUE

final int com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty.SORTING_PROPERTY_HIGHEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS_VALUE = 4
static
Selects nodes that are on average the farthest from vehicles.

SORTING_PROPERTY_HIGHEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS = 4;

Definition at line 371 of file LocalCheapestInsertionParameters.java.

◆ SORTING_PROPERTY_HIGHEST_DIMENSION_USAGE

com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty.SORTING_PROPERTY_HIGHEST_DIMENSION_USAGE =(7)
Selects nodes that have a higher dimension usage on average, where the
usage is determined as the ratio of node demand over vehicle capacity.
Currently, this property only supports unary dimensions.

SORTING_PROPERTY_HIGHEST_DIMENSION_USAGE = 7;

Definition at line 309 of file LocalCheapestInsertionParameters.java.

◆ SORTING_PROPERTY_HIGHEST_DIMENSION_USAGE_VALUE

final int com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty.SORTING_PROPERTY_HIGHEST_DIMENSION_USAGE_VALUE = 7
static
Selects nodes that have a higher dimension usage on average, where the
usage is determined as the ratio of node demand over vehicle capacity.
Currently, this property only supports unary dimensions.

SORTING_PROPERTY_HIGHEST_DIMENSION_USAGE = 7;

Definition at line 397 of file LocalCheapestInsertionParameters.java.

◆ SORTING_PROPERTY_LOWEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS

com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty.SORTING_PROPERTY_LOWEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS =(5)
Selects nodes that are on average the closest to vehicles.

SORTING_PROPERTY_LOWEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS = 5;

Definition at line 291 of file LocalCheapestInsertionParameters.java.

◆ SORTING_PROPERTY_LOWEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS_VALUE

final int com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty.SORTING_PROPERTY_LOWEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS_VALUE = 5
static
Selects nodes that are on average the closest to vehicles.

SORTING_PROPERTY_LOWEST_AVG_ARC_COST_TO_VEHICLE_START_ENDS = 5;

Definition at line 379 of file LocalCheapestInsertionParameters.java.

◆ SORTING_PROPERTY_LOWEST_MIN_ARC_COST_TO_VEHICLE_START_ENDS

com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty.SORTING_PROPERTY_LOWEST_MIN_ARC_COST_TO_VEHICLE_START_ENDS =(6)
Select nodes with the smallest distance to the closest vehicle.

SORTING_PROPERTY_LOWEST_MIN_ARC_COST_TO_VEHICLE_START_ENDS = 6;

Definition at line 299 of file LocalCheapestInsertionParameters.java.

◆ SORTING_PROPERTY_LOWEST_MIN_ARC_COST_TO_VEHICLE_START_ENDS_VALUE

final int com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty.SORTING_PROPERTY_LOWEST_MIN_ARC_COST_TO_VEHICLE_START_ENDS_VALUE = 6
static
Select nodes with the smallest distance to the closest vehicle.

SORTING_PROPERTY_LOWEST_MIN_ARC_COST_TO_VEHICLE_START_ENDS = 6;

Definition at line 387 of file LocalCheapestInsertionParameters.java.

◆ SORTING_PROPERTY_PENALTY

com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty.SORTING_PROPERTY_PENALTY =(2)
Selects nodes with the highest penalty.

SORTING_PROPERTY_PENALTY = 2;

Definition at line 266 of file LocalCheapestInsertionParameters.java.

◆ SORTING_PROPERTY_PENALTY_OVER_ALLOWED_VEHICLES_RATIO

com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty.SORTING_PROPERTY_PENALTY_OVER_ALLOWED_VEHICLES_RATIO =(3)
Selects nodes with the highest penalty / number of allowed vehicles
ratio.

SORTING_PROPERTY_PENALTY_OVER_ALLOWED_VEHICLES_RATIO = 3;

Definition at line 275 of file LocalCheapestInsertionParameters.java.

◆ SORTING_PROPERTY_PENALTY_OVER_ALLOWED_VEHICLES_RATIO_VALUE

final int com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty.SORTING_PROPERTY_PENALTY_OVER_ALLOWED_VEHICLES_RATIO_VALUE = 3
static
Selects nodes with the highest penalty / number of allowed vehicles
ratio.

SORTING_PROPERTY_PENALTY_OVER_ALLOWED_VEHICLES_RATIO = 3;

Definition at line 363 of file LocalCheapestInsertionParameters.java.

◆ SORTING_PROPERTY_PENALTY_VALUE

final int com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty.SORTING_PROPERTY_PENALTY_VALUE = 2
static
Selects nodes with the highest penalty.

SORTING_PROPERTY_PENALTY = 2;

Definition at line 354 of file LocalCheapestInsertionParameters.java.

◆ SORTING_PROPERTY_RANDOM

com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty.SORTING_PROPERTY_RANDOM =(8)
Selects nodes in random order.
This property cannot be used in conjunction with other properties.

SORTING_PROPERTY_RANDOM = 8;

Definition at line 318 of file LocalCheapestInsertionParameters.java.

◆ SORTING_PROPERTY_RANDOM_VALUE

final int com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty.SORTING_PROPERTY_RANDOM_VALUE = 8
static
Selects nodes in random order.
This property cannot be used in conjunction with other properties.

SORTING_PROPERTY_RANDOM = 8;

Definition at line 406 of file LocalCheapestInsertionParameters.java.

◆ SORTING_PROPERTY_UNSPECIFIED

com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty.SORTING_PROPERTY_UNSPECIFIED =(0)
Invalid property.

SORTING_PROPERTY_UNSPECIFIED = 0;

Definition at line 250 of file LocalCheapestInsertionParameters.java.

◆ SORTING_PROPERTY_UNSPECIFIED_VALUE

final int com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty.SORTING_PROPERTY_UNSPECIFIED_VALUE = 0
static
Invalid property.

SORTING_PROPERTY_UNSPECIFIED = 0;

Definition at line 338 of file LocalCheapestInsertionParameters.java.

◆ UNRECOGNIZED

com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty.UNRECOGNIZED =(-1)

Definition at line 319 of file LocalCheapestInsertionParameters.java.


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