Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.constraintsolver.RandomWalkRuinStrategy Class Reference
Inheritance diagram for com.google.ortools.constraintsolver.RandomWalkRuinStrategy:
com.google.ortools.constraintsolver.RandomWalkRuinStrategyOrBuilder

Classes

class  Builder
 

Public Member Functions

boolean hasNumRemovedVisits ()
 
int getNumRemovedVisits ()
 
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< RandomWalkRuinStrategygetParserForType ()
 
com.google.ortools.constraintsolver.RandomWalkRuinStrategy getDefaultInstanceForType ()
 

Static Public Member Functions

static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
 
static com.google.ortools.constraintsolver.RandomWalkRuinStrategy parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.constraintsolver.RandomWalkRuinStrategy parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.constraintsolver.RandomWalkRuinStrategy parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.constraintsolver.RandomWalkRuinStrategy parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.constraintsolver.RandomWalkRuinStrategy parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.constraintsolver.RandomWalkRuinStrategy parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.constraintsolver.RandomWalkRuinStrategy parseFrom (java.io.InputStream input) throws java.io.IOException
 
static com.google.ortools.constraintsolver.RandomWalkRuinStrategy parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
static com.google.ortools.constraintsolver.RandomWalkRuinStrategy parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException
 
static com.google.ortools.constraintsolver.RandomWalkRuinStrategy parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
static com.google.ortools.constraintsolver.RandomWalkRuinStrategy parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException
 
static com.google.ortools.constraintsolver.RandomWalkRuinStrategy 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.RandomWalkRuinStrategy prototype)
 
static com.google.ortools.constraintsolver.RandomWalkRuinStrategy getDefaultInstance ()
 
static com.google.protobuf.Parser< RandomWalkRuinStrategyparser ()
 

Static Public Attributes

static final int NUM_REMOVED_VISITS_FIELD_NUMBER = 7
 

Protected Member Functions

com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable ()
 
Builder newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent)
 

Detailed Description

Ruin strategy that removes a number of customers by performing a random walk
on the underlying routing solution. More precisely, starting from a randomly
selected seed visit, the walk is extended by either moving within the
same route or by jumping to a visit served by a different neighboring
route. Every active visit encountered along this random walk is made
unperformed.

Protobuf type operations_research.RandomWalkRuinStrategy

Definition at line 20 of file RandomWalkRuinStrategy.java.

Member Function Documentation

◆ equals()

boolean com.google.ortools.constraintsolver.RandomWalkRuinStrategy.equals ( final java.lang.Object obj)

Definition at line 126 of file RandomWalkRuinStrategy.java.

◆ getDefaultInstance()

static com.google.ortools.constraintsolver.RandomWalkRuinStrategy com.google.ortools.constraintsolver.RandomWalkRuinStrategy.getDefaultInstance ( )
static

Definition at line 481 of file RandomWalkRuinStrategy.java.

◆ getDefaultInstanceForType()

com.google.ortools.constraintsolver.RandomWalkRuinStrategy com.google.ortools.constraintsolver.RandomWalkRuinStrategy.getDefaultInstanceForType ( )

Definition at line 517 of file RandomWalkRuinStrategy.java.

◆ getDescriptor()

static final com.google.protobuf.Descriptors.Descriptor com.google.ortools.constraintsolver.RandomWalkRuinStrategy.getDescriptor ( )
static

Definition at line 42 of file RandomWalkRuinStrategy.java.

◆ getNumRemovedVisits()

int com.google.ortools.constraintsolver.RandomWalkRuinStrategy.getNumRemovedVisits ( )
Number of visits removed during a ruin application defined on visits.
Note that pickup and delivery pairs are considered as a single entity,
i.e., the removal of a pickup (respectively delivery) causes the removal of
the associated delivery (respectively pickup) and it counts as a single
removal.

optional uint32 num_removed_visits = 7;

Returns
The numRemovedVisits.

Implements com.google.ortools.constraintsolver.RandomWalkRuinStrategyOrBuilder.

Definition at line 86 of file RandomWalkRuinStrategy.java.

◆ getParserForType()

com.google.protobuf.Parser< RandomWalkRuinStrategy > com.google.ortools.constraintsolver.RandomWalkRuinStrategy.getParserForType ( )

Definition at line 512 of file RandomWalkRuinStrategy.java.

◆ getSerializedSize()

int com.google.ortools.constraintsolver.RandomWalkRuinStrategy.getSerializedSize ( )

Definition at line 111 of file RandomWalkRuinStrategy.java.

◆ hashCode()

int com.google.ortools.constraintsolver.RandomWalkRuinStrategy.hashCode ( )

Definition at line 145 of file RandomWalkRuinStrategy.java.

◆ hasNumRemovedVisits()

boolean com.google.ortools.constraintsolver.RandomWalkRuinStrategy.hasNumRemovedVisits ( )
Number of visits removed during a ruin application defined on visits.
Note that pickup and delivery pairs are considered as a single entity,
i.e., the removal of a pickup (respectively delivery) causes the removal of
the associated delivery (respectively pickup) and it counts as a single
removal.

optional uint32 num_removed_visits = 7;

Returns
Whether the numRemovedVisits field is set.

Implements com.google.ortools.constraintsolver.RandomWalkRuinStrategyOrBuilder.

Definition at line 70 of file RandomWalkRuinStrategy.java.

◆ internalGetFieldAccessorTable()

com.google.protobuf.GeneratedMessage.FieldAccessorTable com.google.ortools.constraintsolver.RandomWalkRuinStrategy.internalGetFieldAccessorTable ( )
protected

Definition at line 48 of file RandomWalkRuinStrategy.java.

◆ isInitialized()

final boolean com.google.ortools.constraintsolver.RandomWalkRuinStrategy.isInitialized ( )

Definition at line 92 of file RandomWalkRuinStrategy.java.

◆ newBuilder() [1/2]

static Builder com.google.ortools.constraintsolver.RandomWalkRuinStrategy.newBuilder ( )
static

Definition at line 234 of file RandomWalkRuinStrategy.java.

◆ newBuilder() [2/2]

static Builder com.google.ortools.constraintsolver.RandomWalkRuinStrategy.newBuilder ( com.google.ortools.constraintsolver.RandomWalkRuinStrategy prototype)
static

Definition at line 237 of file RandomWalkRuinStrategy.java.

◆ newBuilderForType() [1/2]

Builder com.google.ortools.constraintsolver.RandomWalkRuinStrategy.newBuilderForType ( )

Definition at line 233 of file RandomWalkRuinStrategy.java.

◆ newBuilderForType() [2/2]

Builder com.google.ortools.constraintsolver.RandomWalkRuinStrategy.newBuilderForType ( com.google.protobuf.GeneratedMessage.BuilderParent parent)
protected

Definition at line 247 of file RandomWalkRuinStrategy.java.

◆ parseDelimitedFrom() [1/2]

static com.google.ortools.constraintsolver.RandomWalkRuinStrategy com.google.ortools.constraintsolver.RandomWalkRuinStrategy.parseDelimitedFrom ( java.io.InputStream input) throws java.io.IOException
static

Definition at line 205 of file RandomWalkRuinStrategy.java.

◆ parseDelimitedFrom() [2/2]

static com.google.ortools.constraintsolver.RandomWalkRuinStrategy com.google.ortools.constraintsolver.RandomWalkRuinStrategy.parseDelimitedFrom ( java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException
static

Definition at line 211 of file RandomWalkRuinStrategy.java.

◆ parseFrom() [1/10]

static com.google.ortools.constraintsolver.RandomWalkRuinStrategy com.google.ortools.constraintsolver.RandomWalkRuinStrategy.parseFrom ( byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 182 of file RandomWalkRuinStrategy.java.

◆ parseFrom() [2/10]

static com.google.ortools.constraintsolver.RandomWalkRuinStrategy com.google.ortools.constraintsolver.RandomWalkRuinStrategy.parseFrom ( byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 186 of file RandomWalkRuinStrategy.java.

◆ parseFrom() [3/10]

static com.google.ortools.constraintsolver.RandomWalkRuinStrategy com.google.ortools.constraintsolver.RandomWalkRuinStrategy.parseFrom ( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 171 of file RandomWalkRuinStrategy.java.

◆ parseFrom() [4/10]

static com.google.ortools.constraintsolver.RandomWalkRuinStrategy com.google.ortools.constraintsolver.RandomWalkRuinStrategy.parseFrom ( com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 176 of file RandomWalkRuinStrategy.java.

◆ parseFrom() [5/10]

static com.google.ortools.constraintsolver.RandomWalkRuinStrategy com.google.ortools.constraintsolver.RandomWalkRuinStrategy.parseFrom ( com.google.protobuf.CodedInputStream input) throws java.io.IOException
static

Definition at line 218 of file RandomWalkRuinStrategy.java.

◆ parseFrom() [6/10]

static com.google.ortools.constraintsolver.RandomWalkRuinStrategy com.google.ortools.constraintsolver.RandomWalkRuinStrategy.parseFrom ( com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException
static

Definition at line 224 of file RandomWalkRuinStrategy.java.

◆ parseFrom() [7/10]

static com.google.ortools.constraintsolver.RandomWalkRuinStrategy com.google.ortools.constraintsolver.RandomWalkRuinStrategy.parseFrom ( java.io.InputStream input) throws java.io.IOException
static

Definition at line 192 of file RandomWalkRuinStrategy.java.

◆ parseFrom() [8/10]

static com.google.ortools.constraintsolver.RandomWalkRuinStrategy com.google.ortools.constraintsolver.RandomWalkRuinStrategy.parseFrom ( java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException
static

Definition at line 197 of file RandomWalkRuinStrategy.java.

◆ parseFrom() [9/10]

static com.google.ortools.constraintsolver.RandomWalkRuinStrategy com.google.ortools.constraintsolver.RandomWalkRuinStrategy.parseFrom ( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 160 of file RandomWalkRuinStrategy.java.

◆ parseFrom() [10/10]

static com.google.ortools.constraintsolver.RandomWalkRuinStrategy com.google.ortools.constraintsolver.RandomWalkRuinStrategy.parseFrom ( java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 165 of file RandomWalkRuinStrategy.java.

◆ parser()

static com.google.protobuf.Parser< RandomWalkRuinStrategy > com.google.ortools.constraintsolver.RandomWalkRuinStrategy.parser ( )
static

Definition at line 507 of file RandomWalkRuinStrategy.java.

◆ toBuilder()

Builder com.google.ortools.constraintsolver.RandomWalkRuinStrategy.toBuilder ( )

Definition at line 241 of file RandomWalkRuinStrategy.java.

◆ writeTo()

void com.google.ortools.constraintsolver.RandomWalkRuinStrategy.writeTo ( com.google.protobuf.CodedOutputStream output) throws java.io.IOException

Definition at line 102 of file RandomWalkRuinStrategy.java.

Member Data Documentation

◆ NUM_REMOVED_VISITS_FIELD_NUMBER

final int com.google.ortools.constraintsolver.RandomWalkRuinStrategy.NUM_REMOVED_VISITS_FIELD_NUMBER = 7
static

Definition at line 55 of file RandomWalkRuinStrategy.java.


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