![]() |
Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
|
Classes | |
class | Builder |
Public Member Functions | |
int | getCoolingScheduleStrategyValue () |
com.google.ortools.constraintsolver.CoolingScheduleStrategy.Value | getCoolingScheduleStrategy () |
boolean | hasInitialTemperature () |
double | getInitialTemperature () |
boolean | hasFinalTemperature () |
double | getFinalTemperature () |
boolean | hasAutomaticTemperatures () |
boolean | getAutomaticTemperatures () |
final boolean | isInitialized () |
void | writeTo (com.google.protobuf.CodedOutputStream output) throws java.io.IOException |
int | getSerializedSize () |
boolean | equals (final java.lang.Object obj) |
int | hashCode () |
Builder | newBuilderForType () |
Builder | toBuilder () |
com.google.protobuf.Parser< SimulatedAnnealingParameters > | getParserForType () |
com.google.ortools.constraintsolver.SimulatedAnnealingParameters | getDefaultInstanceForType () |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
static com.google.ortools.constraintsolver.SimulatedAnnealingParameters | parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.constraintsolver.SimulatedAnnealingParameters | parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.constraintsolver.SimulatedAnnealingParameters | parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.constraintsolver.SimulatedAnnealingParameters | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.constraintsolver.SimulatedAnnealingParameters | parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.constraintsolver.SimulatedAnnealingParameters | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.constraintsolver.SimulatedAnnealingParameters | parseFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.constraintsolver.SimulatedAnnealingParameters | parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.constraintsolver.SimulatedAnnealingParameters | parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.constraintsolver.SimulatedAnnealingParameters | parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.constraintsolver.SimulatedAnnealingParameters | parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException |
static com.google.ortools.constraintsolver.SimulatedAnnealingParameters | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static Builder | newBuilder () |
static Builder | newBuilder (com.google.ortools.constraintsolver.SimulatedAnnealingParameters prototype) |
static com.google.ortools.constraintsolver.SimulatedAnnealingParameters | getDefaultInstance () |
static com.google.protobuf.Parser< SimulatedAnnealingParameters > | parser () |
Static Public Attributes | |
static final int | COOLING_SCHEDULE_STRATEGY_FIELD_NUMBER = 1 |
static final int | INITIAL_TEMPERATURE_FIELD_NUMBER = 2 |
static final int | FINAL_TEMPERATURE_FIELD_NUMBER = 3 |
static final int | AUTOMATIC_TEMPERATURES_FIELD_NUMBER = 4 |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
Builder | newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent) |
Specifies the behavior of a simulated annealing acceptance strategy.
Protobuf type operations_research.SimulatedAnnealingParameters
Definition at line 15 of file SimulatedAnnealingParameters.java.
boolean com.google.ortools.constraintsolver.SimulatedAnnealingParameters.equals | ( | final java.lang.Object | obj | ) |
Definition at line 235 of file SimulatedAnnealingParameters.java.
boolean com.google.ortools.constraintsolver.SimulatedAnnealingParameters.getAutomaticTemperatures | ( | ) |
Automatically define the value for the temperatures as follows. First, a reference temperature t is defined as w1 * c1 + w2 * c2 + ... + wK * cK where 0 < wJ <= 1 is the fraction of vehicles of cost class J and cJ is the average arc cost for the cost class J. The value of cJ is identified by randomly sampling N arc costs for the cost class J, where N is equal to the number of instance nodes. The initial and final temperatures are then defined as - initial_temperature: 0.1 * t - final_temperature: 0.001 * t
optional bool automatic_temperatures = 4;
Implements com.google.ortools.constraintsolver.SimulatedAnnealingParametersOrBuilder.
Definition at line 174 of file SimulatedAnnealingParameters.java.
com.google.ortools.constraintsolver.CoolingScheduleStrategy.Value com.google.ortools.constraintsolver.SimulatedAnnealingParameters.getCoolingScheduleStrategy | ( | ) |
Determines the speed at which the temperature changes from initial to final.
.operations_research.CoolingScheduleStrategy.Value cooling_schedule_strategy = 1;
Implements com.google.ortools.constraintsolver.SimulatedAnnealingParametersOrBuilder.
Definition at line 74 of file SimulatedAnnealingParameters.java.
int com.google.ortools.constraintsolver.SimulatedAnnealingParameters.getCoolingScheduleStrategyValue | ( | ) |
Determines the speed at which the temperature changes from initial to final.
.operations_research.CoolingScheduleStrategy.Value cooling_schedule_strategy = 1;
Implements com.google.ortools.constraintsolver.SimulatedAnnealingParametersOrBuilder.
Definition at line 62 of file SimulatedAnnealingParameters.java.
|
static |
Definition at line 859 of file SimulatedAnnealingParameters.java.
com.google.ortools.constraintsolver.SimulatedAnnealingParameters com.google.ortools.constraintsolver.SimulatedAnnealingParameters.getDefaultInstanceForType | ( | ) |
Definition at line 895 of file SimulatedAnnealingParameters.java.
|
static |
Definition at line 38 of file SimulatedAnnealingParameters.java.
double com.google.ortools.constraintsolver.SimulatedAnnealingParameters.getFinalTemperature | ( | ) |
The final temperature. See CoolingScheduleStrategy for its usage.
optional double final_temperature = 3;
Implements com.google.ortools.constraintsolver.SimulatedAnnealingParametersOrBuilder.
Definition at line 129 of file SimulatedAnnealingParameters.java.
double com.google.ortools.constraintsolver.SimulatedAnnealingParameters.getInitialTemperature | ( | ) |
The initial temperature. See CoolingScheduleStrategy for its usage.
optional double initial_temperature = 2;
Implements com.google.ortools.constraintsolver.SimulatedAnnealingParametersOrBuilder.
Definition at line 102 of file SimulatedAnnealingParameters.java.
com.google.protobuf.Parser< SimulatedAnnealingParameters > com.google.ortools.constraintsolver.SimulatedAnnealingParameters.getParserForType | ( | ) |
Definition at line 890 of file SimulatedAnnealingParameters.java.
int com.google.ortools.constraintsolver.SimulatedAnnealingParameters.getSerializedSize | ( | ) |
Definition at line 208 of file SimulatedAnnealingParameters.java.
boolean com.google.ortools.constraintsolver.SimulatedAnnealingParameters.hasAutomaticTemperatures | ( | ) |
Automatically define the value for the temperatures as follows. First, a reference temperature t is defined as w1 * c1 + w2 * c2 + ... + wK * cK where 0 < wJ <= 1 is the fraction of vehicles of cost class J and cJ is the average arc cost for the cost class J. The value of cJ is identified by randomly sampling N arc costs for the cost class J, where N is equal to the number of instance nodes. The initial and final temperatures are then defined as - initial_temperature: 0.1 * t - final_temperature: 0.001 * t
optional bool automatic_temperatures = 4;
Implements com.google.ortools.constraintsolver.SimulatedAnnealingParametersOrBuilder.
Definition at line 153 of file SimulatedAnnealingParameters.java.
boolean com.google.ortools.constraintsolver.SimulatedAnnealingParameters.hasFinalTemperature | ( | ) |
The final temperature. See CoolingScheduleStrategy for its usage.
optional double final_temperature = 3;
Implements com.google.ortools.constraintsolver.SimulatedAnnealingParametersOrBuilder.
Definition at line 117 of file SimulatedAnnealingParameters.java.
int com.google.ortools.constraintsolver.SimulatedAnnealingParameters.hashCode | ( | ) |
Definition at line 267 of file SimulatedAnnealingParameters.java.
boolean com.google.ortools.constraintsolver.SimulatedAnnealingParameters.hasInitialTemperature | ( | ) |
The initial temperature. See CoolingScheduleStrategy for its usage.
optional double initial_temperature = 2;
Implements com.google.ortools.constraintsolver.SimulatedAnnealingParametersOrBuilder.
Definition at line 90 of file SimulatedAnnealingParameters.java.
|
protected |
Definition at line 44 of file SimulatedAnnealingParameters.java.
final boolean com.google.ortools.constraintsolver.SimulatedAnnealingParameters.isInitialized | ( | ) |
Definition at line 180 of file SimulatedAnnealingParameters.java.
|
static |
Definition at line 369 of file SimulatedAnnealingParameters.java.
|
static |
Definition at line 372 of file SimulatedAnnealingParameters.java.
Builder com.google.ortools.constraintsolver.SimulatedAnnealingParameters.newBuilderForType | ( | ) |
Definition at line 368 of file SimulatedAnnealingParameters.java.
|
protected |
Definition at line 382 of file SimulatedAnnealingParameters.java.
|
static |
Definition at line 340 of file SimulatedAnnealingParameters.java.
|
static |
Definition at line 346 of file SimulatedAnnealingParameters.java.
|
static |
Definition at line 317 of file SimulatedAnnealingParameters.java.
|
static |
Definition at line 321 of file SimulatedAnnealingParameters.java.
|
static |
Definition at line 306 of file SimulatedAnnealingParameters.java.
|
static |
Definition at line 311 of file SimulatedAnnealingParameters.java.
|
static |
Definition at line 353 of file SimulatedAnnealingParameters.java.
|
static |
Definition at line 359 of file SimulatedAnnealingParameters.java.
|
static |
Definition at line 327 of file SimulatedAnnealingParameters.java.
|
static |
Definition at line 332 of file SimulatedAnnealingParameters.java.
|
static |
Definition at line 295 of file SimulatedAnnealingParameters.java.
|
static |
Definition at line 300 of file SimulatedAnnealingParameters.java.
|
static |
Definition at line 885 of file SimulatedAnnealingParameters.java.
Builder com.google.ortools.constraintsolver.SimulatedAnnealingParameters.toBuilder | ( | ) |
Definition at line 376 of file SimulatedAnnealingParameters.java.
void com.google.ortools.constraintsolver.SimulatedAnnealingParameters.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException |
Definition at line 190 of file SimulatedAnnealingParameters.java.
|
static |
Definition at line 133 of file SimulatedAnnealingParameters.java.
|
static |
Definition at line 51 of file SimulatedAnnealingParameters.java.
|
static |
Definition at line 106 of file SimulatedAnnealingParameters.java.
|
static |
Definition at line 79 of file SimulatedAnnealingParameters.java.