Interface SimulatedAnnealingParametersOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SimulatedAnnealingParameters
,SimulatedAnnealingParameters.Builder
@Generated
public interface SimulatedAnnealingParametersOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Automatically define the value for the temperatures as follows.Determines the speed at which the temperature changes from initial to final.int
Determines the speed at which the temperature changes from initial to final.double
The final temperature.double
The initial temperature.boolean
Automatically define the value for the temperatures as follows.boolean
The final temperature.boolean
The initial temperature.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCoolingScheduleStrategyValue
int getCoolingScheduleStrategyValue()Determines the speed at which the temperature changes from initial to final.
.operations_research.CoolingScheduleStrategy.Value cooling_schedule_strategy = 1;
- Returns:
- The enum numeric value on the wire for coolingScheduleStrategy.
-
getCoolingScheduleStrategy
CoolingScheduleStrategy.Value getCoolingScheduleStrategy()Determines the speed at which the temperature changes from initial to final.
.operations_research.CoolingScheduleStrategy.Value cooling_schedule_strategy = 1;
- Returns:
- The coolingScheduleStrategy.
-
hasInitialTemperature
boolean hasInitialTemperature()The initial temperature. See CoolingScheduleStrategy for its usage.
optional double initial_temperature = 2;
- Returns:
- Whether the initialTemperature field is set.
-
getInitialTemperature
double getInitialTemperature()The initial temperature. See CoolingScheduleStrategy for its usage.
optional double initial_temperature = 2;
- Returns:
- The initialTemperature.
-
hasFinalTemperature
boolean hasFinalTemperature()The final temperature. See CoolingScheduleStrategy for its usage.
optional double final_temperature = 3;
- Returns:
- Whether the finalTemperature field is set.
-
getFinalTemperature
double getFinalTemperature()The final temperature. See CoolingScheduleStrategy for its usage.
optional double final_temperature = 3;
- Returns:
- The finalTemperature.
-
hasAutomaticTemperatures
boolean 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;
- Returns:
- Whether the automaticTemperatures field is set.
-
getAutomaticTemperatures
boolean 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;
- Returns:
- The automaticTemperatures.
-