Google OR-Tools v9.14
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 21 of file RandomWalkRuinStrategy.java.

Member Function Documentation

◆ equals()

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

Definition at line 127 of file RandomWalkRuinStrategy.java.

◆ getDefaultInstance()

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

Definition at line 482 of file RandomWalkRuinStrategy.java.

◆ getDefaultInstanceForType()

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

Definition at line 518 of file RandomWalkRuinStrategy.java.

◆ getDescriptor()

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

Definition at line 43 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 87 of file RandomWalkRuinStrategy.java.

◆ getParserForType()

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

Definition at line 513 of file RandomWalkRuinStrategy.java.

◆ getSerializedSize()

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

Definition at line 112 of file RandomWalkRuinStrategy.java.

◆ hashCode()

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

Definition at line 146 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 71 of file RandomWalkRuinStrategy.java.

◆ internalGetFieldAccessorTable()

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

Definition at line 49 of file RandomWalkRuinStrategy.java.

◆ isInitialized()

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

Definition at line 93 of file RandomWalkRuinStrategy.java.

◆ newBuilder() [1/2]

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

Definition at line 235 of file RandomWalkRuinStrategy.java.

◆ newBuilder() [2/2]

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

Definition at line 238 of file RandomWalkRuinStrategy.java.

◆ newBuilderForType() [1/2]

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

Definition at line 234 of file RandomWalkRuinStrategy.java.

◆ newBuilderForType() [2/2]

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

Definition at line 248 of file RandomWalkRuinStrategy.java.

◆ parseDelimitedFrom() [1/2]

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

Definition at line 206 of file RandomWalkRuinStrategy.java.

◆ parseDelimitedFrom() [2/2]

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 212 of file RandomWalkRuinStrategy.java.

◆ parseFrom() [1/10]

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

Definition at line 183 of file RandomWalkRuinStrategy.java.

◆ parseFrom() [2/10]

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 187 of file RandomWalkRuinStrategy.java.

◆ parseFrom() [3/10]

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 172 of file RandomWalkRuinStrategy.java.

◆ parseFrom() [4/10]

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 177 of file RandomWalkRuinStrategy.java.

◆ parseFrom() [5/10]

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

Definition at line 219 of file RandomWalkRuinStrategy.java.

◆ parseFrom() [6/10]

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 225 of file RandomWalkRuinStrategy.java.

◆ parseFrom() [7/10]

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

Definition at line 193 of file RandomWalkRuinStrategy.java.

◆ parseFrom() [8/10]

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 198 of file RandomWalkRuinStrategy.java.

◆ parseFrom() [9/10]

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

Definition at line 161 of file RandomWalkRuinStrategy.java.

◆ parseFrom() [10/10]

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 166 of file RandomWalkRuinStrategy.java.

◆ parser()

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

Definition at line 508 of file RandomWalkRuinStrategy.java.

◆ toBuilder()

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

Definition at line 242 of file RandomWalkRuinStrategy.java.

◆ writeTo()

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

Definition at line 103 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 56 of file RandomWalkRuinStrategy.java.


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