![]() |
Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
|
Classes | |
class | Builder |
Public Member Functions | |
java.util.List< java.lang.Integer > | getVarIndexList () |
int | getVarIndexCount () |
int | getVarIndex (int index) |
java.util.List< java.lang.Double > | getVarValueList () |
int | getVarValueCount () |
double | getVarValue (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< PartialVariableAssignment > | getParserForType () |
com.google.ortools.linearsolver.PartialVariableAssignment | getDefaultInstanceForType () |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
static com.google.ortools.linearsolver.PartialVariableAssignment | parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.PartialVariableAssignment | parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.PartialVariableAssignment | parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.PartialVariableAssignment | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.PartialVariableAssignment | parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.PartialVariableAssignment | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.PartialVariableAssignment | parseFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.linearsolver.PartialVariableAssignment | parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.linearsolver.PartialVariableAssignment | parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.linearsolver.PartialVariableAssignment | parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.linearsolver.PartialVariableAssignment | parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException |
static com.google.ortools.linearsolver.PartialVariableAssignment | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static Builder | newBuilder () |
static Builder | newBuilder (com.google.ortools.linearsolver.PartialVariableAssignment prototype) |
static com.google.ortools.linearsolver.PartialVariableAssignment | getDefaultInstance () |
static com.google.protobuf.Parser< PartialVariableAssignment > | parser () |
Static Public Attributes | |
static final int | VAR_INDEX_FIELD_NUMBER = 1 |
static final int | VAR_VALUE_FIELD_NUMBER = 2 |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
Builder | newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent) |
This message encodes a partial (or full) assignment of the variables of a MPModelProto problem. The indices in var_index should be unique and valid variable indices of the associated problem.
Protobuf type operations_research.PartialVariableAssignment
Definition at line 17 of file PartialVariableAssignment.java.
boolean com.google.ortools.linearsolver.PartialVariableAssignment.equals | ( | final java.lang.Object | obj | ) |
Definition at line 182 of file PartialVariableAssignment.java.
|
static |
Definition at line 689 of file PartialVariableAssignment.java.
com.google.ortools.linearsolver.PartialVariableAssignment com.google.ortools.linearsolver.PartialVariableAssignment.getDefaultInstanceForType | ( | ) |
Definition at line 725 of file PartialVariableAssignment.java.
|
static |
Definition at line 41 of file PartialVariableAssignment.java.
com.google.protobuf.Parser< PartialVariableAssignment > com.google.ortools.linearsolver.PartialVariableAssignment.getParserForType | ( | ) |
Definition at line 720 of file PartialVariableAssignment.java.
int com.google.ortools.linearsolver.PartialVariableAssignment.getSerializedSize | ( | ) |
Definition at line 146 of file PartialVariableAssignment.java.
int com.google.ortools.linearsolver.PartialVariableAssignment.getVarIndex | ( | int | index | ) |
repeated int32 var_index = 1 [packed = true];
index | The index of the element to return. |
Implements com.google.ortools.linearsolver.PartialVariableAssignmentOrBuilder.
Definition at line 78 of file PartialVariableAssignment.java.
int com.google.ortools.linearsolver.PartialVariableAssignment.getVarIndexCount | ( | ) |
repeated int32 var_index = 1 [packed = true];
Implements com.google.ortools.linearsolver.PartialVariableAssignmentOrBuilder.
Definition at line 70 of file PartialVariableAssignment.java.
java.util.List< java.lang.Integer > com.google.ortools.linearsolver.PartialVariableAssignment.getVarIndexList | ( | ) |
repeated int32 var_index = 1 [packed = true];
Implements com.google.ortools.linearsolver.PartialVariableAssignmentOrBuilder.
Definition at line 63 of file PartialVariableAssignment.java.
double com.google.ortools.linearsolver.PartialVariableAssignment.getVarValue | ( | int | index | ) |
repeated double var_value = 2 [packed = true];
index | The index of the element to return. |
Implements com.google.ortools.linearsolver.PartialVariableAssignmentOrBuilder.
Definition at line 108 of file PartialVariableAssignment.java.
int com.google.ortools.linearsolver.PartialVariableAssignment.getVarValueCount | ( | ) |
repeated double var_value = 2 [packed = true];
Implements com.google.ortools.linearsolver.PartialVariableAssignmentOrBuilder.
Definition at line 100 of file PartialVariableAssignment.java.
java.util.List< java.lang.Double > com.google.ortools.linearsolver.PartialVariableAssignment.getVarValueList | ( | ) |
repeated double var_value = 2 [packed = true];
Implements com.google.ortools.linearsolver.PartialVariableAssignmentOrBuilder.
Definition at line 93 of file PartialVariableAssignment.java.
int com.google.ortools.linearsolver.PartialVariableAssignment.hashCode | ( | ) |
Definition at line 200 of file PartialVariableAssignment.java.
|
protected |
Definition at line 47 of file PartialVariableAssignment.java.
final boolean com.google.ortools.linearsolver.PartialVariableAssignment.isInitialized | ( | ) |
Definition at line 115 of file PartialVariableAssignment.java.
|
static |
Definition at line 293 of file PartialVariableAssignment.java.
|
static |
Definition at line 296 of file PartialVariableAssignment.java.
Builder com.google.ortools.linearsolver.PartialVariableAssignment.newBuilderForType | ( | ) |
Definition at line 292 of file PartialVariableAssignment.java.
|
protected |
Definition at line 306 of file PartialVariableAssignment.java.
|
static |
Definition at line 264 of file PartialVariableAssignment.java.
|
static |
Definition at line 270 of file PartialVariableAssignment.java.
|
static |
Definition at line 241 of file PartialVariableAssignment.java.
|
static |
Definition at line 245 of file PartialVariableAssignment.java.
|
static |
Definition at line 230 of file PartialVariableAssignment.java.
|
static |
Definition at line 235 of file PartialVariableAssignment.java.
|
static |
Definition at line 277 of file PartialVariableAssignment.java.
|
static |
Definition at line 283 of file PartialVariableAssignment.java.
|
static |
Definition at line 251 of file PartialVariableAssignment.java.
|
static |
Definition at line 256 of file PartialVariableAssignment.java.
|
static |
Definition at line 219 of file PartialVariableAssignment.java.
|
static |
Definition at line 224 of file PartialVariableAssignment.java.
|
static |
Definition at line 715 of file PartialVariableAssignment.java.
Builder com.google.ortools.linearsolver.PartialVariableAssignment.toBuilder | ( | ) |
Definition at line 300 of file PartialVariableAssignment.java.
void com.google.ortools.linearsolver.PartialVariableAssignment.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException |
Definition at line 125 of file PartialVariableAssignment.java.
|
static |
Definition at line 53 of file PartialVariableAssignment.java.
|
static |
Definition at line 83 of file PartialVariableAssignment.java.