![]()  | 
  
    Google OR-Tools v9.14
    
   a fast and portable software suite for combinatorial optimization 
   | 
 
Specifies the behavior of a simulated annealing acceptance strategy.
Protobuf type operations_research.SimulatedAnnealingParameters 
Definition at line 16 of file SimulatedAnnealingParameters.java.
  
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) | 
| boolean com.google.ortools.constraintsolver.SimulatedAnnealingParameters.equals | ( | final java.lang.Object | obj | ) | 
Definition at line 236 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 175 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 75 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 63 of file SimulatedAnnealingParameters.java.
      
  | 
  static | 
Definition at line 858 of file SimulatedAnnealingParameters.java.
| com.google.ortools.constraintsolver.SimulatedAnnealingParameters com.google.ortools.constraintsolver.SimulatedAnnealingParameters.getDefaultInstanceForType | ( | ) | 
Definition at line 894 of file SimulatedAnnealingParameters.java.
      
  | 
  static | 
Definition at line 39 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 130 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 103 of file SimulatedAnnealingParameters.java.
| com.google.protobuf.Parser< SimulatedAnnealingParameters > com.google.ortools.constraintsolver.SimulatedAnnealingParameters.getParserForType | ( | ) | 
Definition at line 889 of file SimulatedAnnealingParameters.java.
| int com.google.ortools.constraintsolver.SimulatedAnnealingParameters.getSerializedSize | ( | ) | 
Definition at line 209 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 154 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 118 of file SimulatedAnnealingParameters.java.
| int com.google.ortools.constraintsolver.SimulatedAnnealingParameters.hashCode | ( | ) | 
Definition at line 268 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 91 of file SimulatedAnnealingParameters.java.
      
  | 
  protected | 
Definition at line 45 of file SimulatedAnnealingParameters.java.
| final boolean com.google.ortools.constraintsolver.SimulatedAnnealingParameters.isInitialized | ( | ) | 
Definition at line 181 of file SimulatedAnnealingParameters.java.
      
  | 
  static | 
Definition at line 370 of file SimulatedAnnealingParameters.java.
      
  | 
  static | 
Definition at line 373 of file SimulatedAnnealingParameters.java.
| Builder com.google.ortools.constraintsolver.SimulatedAnnealingParameters.newBuilderForType | ( | ) | 
Definition at line 369 of file SimulatedAnnealingParameters.java.
      
  | 
  protected | 
Definition at line 383 of file SimulatedAnnealingParameters.java.
      
  | 
  static | 
Definition at line 341 of file SimulatedAnnealingParameters.java.
      
  | 
  static | 
Definition at line 347 of file SimulatedAnnealingParameters.java.
      
  | 
  static | 
Definition at line 318 of file SimulatedAnnealingParameters.java.
      
  | 
  static | 
Definition at line 322 of file SimulatedAnnealingParameters.java.
      
  | 
  static | 
Definition at line 307 of file SimulatedAnnealingParameters.java.
      
  | 
  static | 
Definition at line 312 of file SimulatedAnnealingParameters.java.
      
  | 
  static | 
Definition at line 354 of file SimulatedAnnealingParameters.java.
      
  | 
  static | 
Definition at line 360 of file SimulatedAnnealingParameters.java.
      
  | 
  static | 
Definition at line 328 of file SimulatedAnnealingParameters.java.
      
  | 
  static | 
Definition at line 333 of file SimulatedAnnealingParameters.java.
      
  | 
  static | 
Definition at line 296 of file SimulatedAnnealingParameters.java.
      
  | 
  static | 
Definition at line 301 of file SimulatedAnnealingParameters.java.
      
  | 
  static | 
Definition at line 884 of file SimulatedAnnealingParameters.java.
| Builder com.google.ortools.constraintsolver.SimulatedAnnealingParameters.toBuilder | ( | ) | 
Definition at line 377 of file SimulatedAnnealingParameters.java.
| void com.google.ortools.constraintsolver.SimulatedAnnealingParameters.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException | 
Definition at line 191 of file SimulatedAnnealingParameters.java.
      
  | 
  static | 
Definition at line 134 of file SimulatedAnnealingParameters.java.
      
  | 
  static | 
Definition at line 52 of file SimulatedAnnealingParameters.java.
      
  | 
  static | 
Definition at line 107 of file SimulatedAnnealingParameters.java.
      
  | 
  static | 
Definition at line 80 of file SimulatedAnnealingParameters.java.