Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.sat.CpSolverSolution Class Reference
Inheritance diagram for com.google.ortools.sat.CpSolverSolution:
com.google.ortools.sat.CpSolverSolutionOrBuilder

Classes

class  Builder
 

Public Member Functions

java.util.List< java.lang.Long > getValuesList ()
 
int getValuesCount ()
 
long getValues (int index)
 
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< CpSolverSolutiongetParserForType ()
 
com.google.ortools.sat.CpSolverSolution getDefaultInstanceForType ()
 
- Public Member Functions inherited from com.google.ortools.sat.CpSolverSolutionOrBuilder

Static Public Member Functions

static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
 
static com.google.ortools.sat.CpSolverSolution parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.sat.CpSolverSolution parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.sat.CpSolverSolution parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.sat.CpSolverSolution parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.sat.CpSolverSolution parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.sat.CpSolverSolution parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.sat.CpSolverSolution parseFrom (java.io.InputStream input) throws java.io.IOException
 
static com.google.ortools.sat.CpSolverSolution parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
static com.google.ortools.sat.CpSolverSolution parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException
 
static com.google.ortools.sat.CpSolverSolution parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
static com.google.ortools.sat.CpSolverSolution parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException
 
static com.google.ortools.sat.CpSolverSolution parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
static Builder newBuilder ()
 
static Builder newBuilder (com.google.ortools.sat.CpSolverSolution prototype)
 
static com.google.ortools.sat.CpSolverSolution getDefaultInstance ()
 
static com.google.protobuf.Parser< CpSolverSolutionparser ()
 

Static Public Attributes

static final int VALUES_FIELD_NUMBER = 1
 

Protected Member Functions

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

Detailed Description

Just a message used to store dense solution.
This is used by the additional_solutions field.

Protobuf type operations_research.sat.CpSolverSolution

Definition at line 15 of file CpSolverSolution.java.

Member Function Documentation

◆ equals()

boolean com.google.ortools.sat.CpSolverSolution.equals ( final java.lang.Object obj)

Definition at line 131 of file CpSolverSolution.java.

◆ getDefaultInstance()

static com.google.ortools.sat.CpSolverSolution com.google.ortools.sat.CpSolverSolution.getDefaultInstance ( )
static

Definition at line 508 of file CpSolverSolution.java.

◆ getDefaultInstanceForType()

com.google.ortools.sat.CpSolverSolution com.google.ortools.sat.CpSolverSolution.getDefaultInstanceForType ( )

Definition at line 544 of file CpSolverSolution.java.

◆ getDescriptor()

static final com.google.protobuf.Descriptors.Descriptor com.google.ortools.sat.CpSolverSolution.getDescriptor ( )
static

Definition at line 38 of file CpSolverSolution.java.

◆ getParserForType()

com.google.protobuf.Parser< CpSolverSolution > com.google.ortools.sat.CpSolverSolution.getParserForType ( )

Definition at line 539 of file CpSolverSolution.java.

◆ getSerializedSize()

int com.google.ortools.sat.CpSolverSolution.getSerializedSize ( )

Definition at line 106 of file CpSolverSolution.java.

◆ getValues()

long com.google.ortools.sat.CpSolverSolution.getValues ( int index)

repeated int64 values = 1;

Parameters
indexThe index of the element to return.
Returns
The values at the given index.

Implements com.google.ortools.sat.CpSolverSolutionOrBuilder.

Definition at line 75 of file CpSolverSolution.java.

◆ getValuesCount()

int com.google.ortools.sat.CpSolverSolution.getValuesCount ( )

repeated int64 values = 1;

Returns
The count of values.

Implements com.google.ortools.sat.CpSolverSolutionOrBuilder.

Definition at line 67 of file CpSolverSolution.java.

◆ getValuesList()

java.util.List< java.lang.Long > com.google.ortools.sat.CpSolverSolution.getValuesList ( )

repeated int64 values = 1;

Returns
A list containing the values.

Implements com.google.ortools.sat.CpSolverSolutionOrBuilder.

Definition at line 60 of file CpSolverSolution.java.

◆ hashCode()

int com.google.ortools.sat.CpSolverSolution.hashCode ( )

Definition at line 147 of file CpSolverSolution.java.

◆ internalGetFieldAccessorTable()

com.google.protobuf.GeneratedMessage.FieldAccessorTable com.google.ortools.sat.CpSolverSolution.internalGetFieldAccessorTable ( )
protected

Definition at line 44 of file CpSolverSolution.java.

◆ isInitialized()

final boolean com.google.ortools.sat.CpSolverSolution.isInitialized ( )

Definition at line 82 of file CpSolverSolution.java.

◆ newBuilder() [1/2]

static Builder com.google.ortools.sat.CpSolverSolution.newBuilder ( )
static

Definition at line 236 of file CpSolverSolution.java.

◆ newBuilder() [2/2]

static Builder com.google.ortools.sat.CpSolverSolution.newBuilder ( com.google.ortools.sat.CpSolverSolution prototype)
static

Definition at line 239 of file CpSolverSolution.java.

◆ newBuilderForType() [1/2]

Builder com.google.ortools.sat.CpSolverSolution.newBuilderForType ( )

Definition at line 235 of file CpSolverSolution.java.

◆ newBuilderForType() [2/2]

Builder com.google.ortools.sat.CpSolverSolution.newBuilderForType ( com.google.protobuf.GeneratedMessage.BuilderParent parent)
protected

Definition at line 249 of file CpSolverSolution.java.

◆ parseDelimitedFrom() [1/2]

static com.google.ortools.sat.CpSolverSolution com.google.ortools.sat.CpSolverSolution.parseDelimitedFrom ( java.io.InputStream input) throws java.io.IOException
static

Definition at line 207 of file CpSolverSolution.java.

◆ parseDelimitedFrom() [2/2]

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

Definition at line 213 of file CpSolverSolution.java.

◆ parseFrom() [1/10]

static com.google.ortools.sat.CpSolverSolution com.google.ortools.sat.CpSolverSolution.parseFrom ( byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 184 of file CpSolverSolution.java.

◆ parseFrom() [2/10]

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

Definition at line 188 of file CpSolverSolution.java.

◆ parseFrom() [3/10]

static com.google.ortools.sat.CpSolverSolution com.google.ortools.sat.CpSolverSolution.parseFrom ( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 173 of file CpSolverSolution.java.

◆ parseFrom() [4/10]

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

Definition at line 178 of file CpSolverSolution.java.

◆ parseFrom() [5/10]

static com.google.ortools.sat.CpSolverSolution com.google.ortools.sat.CpSolverSolution.parseFrom ( com.google.protobuf.CodedInputStream input) throws java.io.IOException
static

Definition at line 220 of file CpSolverSolution.java.

◆ parseFrom() [6/10]

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

Definition at line 226 of file CpSolverSolution.java.

◆ parseFrom() [7/10]

static com.google.ortools.sat.CpSolverSolution com.google.ortools.sat.CpSolverSolution.parseFrom ( java.io.InputStream input) throws java.io.IOException
static

Definition at line 194 of file CpSolverSolution.java.

◆ parseFrom() [8/10]

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

Definition at line 199 of file CpSolverSolution.java.

◆ parseFrom() [9/10]

static com.google.ortools.sat.CpSolverSolution com.google.ortools.sat.CpSolverSolution.parseFrom ( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 162 of file CpSolverSolution.java.

◆ parseFrom() [10/10]

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

Definition at line 167 of file CpSolverSolution.java.

◆ parser()

static com.google.protobuf.Parser< CpSolverSolution > com.google.ortools.sat.CpSolverSolution.parser ( )
static

Definition at line 534 of file CpSolverSolution.java.

◆ toBuilder()

Builder com.google.ortools.sat.CpSolverSolution.toBuilder ( )

Definition at line 243 of file CpSolverSolution.java.

◆ writeTo()

void com.google.ortools.sat.CpSolverSolution.writeTo ( com.google.protobuf.CodedOutputStream output) throws java.io.IOException

Definition at line 92 of file CpSolverSolution.java.

Member Data Documentation

◆ VALUES_FIELD_NUMBER

final int com.google.ortools.sat.CpSolverSolution.VALUES_FIELD_NUMBER = 1
static

Definition at line 50 of file CpSolverSolution.java.


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