Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
Builder | clear () |
com.google.protobuf.Descriptors.Descriptor | getDescriptorForType () |
com.google.ortools.linearsolver.PartialVariableAssignment | getDefaultInstanceForType () |
com.google.ortools.linearsolver.PartialVariableAssignment | build () |
com.google.ortools.linearsolver.PartialVariableAssignment | buildPartial () |
Builder | mergeFrom (com.google.protobuf.Message other) |
Builder | mergeFrom (com.google.ortools.linearsolver.PartialVariableAssignment other) |
final boolean | isInitialized () |
Builder | mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
java.util.List< java.lang.Integer > | getVarIndexList () |
int | getVarIndexCount () |
int | getVarIndex (int index) |
Builder | setVarIndex (int index, int value) |
Builder | addVarIndex (int value) |
Builder | addAllVarIndex (java.lang.Iterable<? extends java.lang.Integer > values) |
Builder | clearVarIndex () |
java.util.List< java.lang.Double > | getVarValueList () |
int | getVarValueCount () |
double | getVarValue (int index) |
Builder | setVarValue (int index, double value) |
Builder | addVarValue (double value) |
Builder | addAllVarValue (java.lang.Iterable<? extends java.lang.Double > values) |
Builder | clearVarValue () |
Public Member Functions inherited from com.google.ortools.linearsolver.PartialVariableAssignmentOrBuilder |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
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 319 of file PartialVariableAssignment.java.
Builder com.google.ortools.linearsolver.PartialVariableAssignment.Builder.addAllVarIndex | ( | java.lang.Iterable<? extends java.lang.Integer > | values | ) |
repeated int32 var_index = 1 [packed = true];
values | The varIndex to add. |
Definition at line 569 of file PartialVariableAssignment.java.
Builder com.google.ortools.linearsolver.PartialVariableAssignment.Builder.addAllVarValue | ( | java.lang.Iterable<? extends java.lang.Double > | values | ) |
repeated double var_value = 2 [packed = true];
values | The varValue to add. |
Definition at line 659 of file PartialVariableAssignment.java.
Builder com.google.ortools.linearsolver.PartialVariableAssignment.Builder.addVarIndex | ( | int | value | ) |
repeated int32 var_index = 1 [packed = true];
value | The varIndex to add. |
Definition at line 556 of file PartialVariableAssignment.java.
Builder com.google.ortools.linearsolver.PartialVariableAssignment.Builder.addVarValue | ( | double | value | ) |
repeated double var_value = 2 [packed = true];
value | The varValue to add. |
Definition at line 646 of file PartialVariableAssignment.java.
com.google.ortools.linearsolver.PartialVariableAssignment com.google.ortools.linearsolver.PartialVariableAssignment.Builder.build | ( | ) |
Definition at line 367 of file PartialVariableAssignment.java.
com.google.ortools.linearsolver.PartialVariableAssignment com.google.ortools.linearsolver.PartialVariableAssignment.Builder.buildPartial | ( | ) |
Definition at line 376 of file PartialVariableAssignment.java.
Builder com.google.ortools.linearsolver.PartialVariableAssignment.Builder.clear | ( | ) |
Definition at line 347 of file PartialVariableAssignment.java.
Builder com.google.ortools.linearsolver.PartialVariableAssignment.Builder.clearVarIndex | ( | ) |
repeated int32 var_index = 1 [packed = true];
Definition at line 582 of file PartialVariableAssignment.java.
Builder com.google.ortools.linearsolver.PartialVariableAssignment.Builder.clearVarValue | ( | ) |
repeated double var_value = 2 [packed = true];
Definition at line 672 of file PartialVariableAssignment.java.
com.google.ortools.linearsolver.PartialVariableAssignment com.google.ortools.linearsolver.PartialVariableAssignment.Builder.getDefaultInstanceForType | ( | ) |
Definition at line 362 of file PartialVariableAssignment.java.
|
static |
Definition at line 324 of file PartialVariableAssignment.java.
com.google.protobuf.Descriptors.Descriptor com.google.ortools.linearsolver.PartialVariableAssignment.Builder.getDescriptorForType | ( | ) |
Definition at line 357 of file PartialVariableAssignment.java.
int com.google.ortools.linearsolver.PartialVariableAssignment.Builder.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 533 of file PartialVariableAssignment.java.
int com.google.ortools.linearsolver.PartialVariableAssignment.Builder.getVarIndexCount | ( | ) |
repeated int32 var_index = 1 [packed = true];
Implements com.google.ortools.linearsolver.PartialVariableAssignmentOrBuilder.
Definition at line 525 of file PartialVariableAssignment.java.
java.util.List< java.lang.Integer > com.google.ortools.linearsolver.PartialVariableAssignment.Builder.getVarIndexList | ( | ) |
repeated int32 var_index = 1 [packed = true];
Implements com.google.ortools.linearsolver.PartialVariableAssignmentOrBuilder.
Definition at line 517 of file PartialVariableAssignment.java.
double com.google.ortools.linearsolver.PartialVariableAssignment.Builder.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 623 of file PartialVariableAssignment.java.
int com.google.ortools.linearsolver.PartialVariableAssignment.Builder.getVarValueCount | ( | ) |
repeated double var_value = 2 [packed = true];
Implements com.google.ortools.linearsolver.PartialVariableAssignmentOrBuilder.
Definition at line 615 of file PartialVariableAssignment.java.
java.util.List< java.lang.Double > com.google.ortools.linearsolver.PartialVariableAssignment.Builder.getVarValueList | ( | ) |
repeated double var_value = 2 [packed = true];
Implements com.google.ortools.linearsolver.PartialVariableAssignmentOrBuilder.
Definition at line 607 of file PartialVariableAssignment.java.
|
protected |
Definition at line 330 of file PartialVariableAssignment.java.
final boolean com.google.ortools.linearsolver.PartialVariableAssignment.Builder.isInitialized | ( | ) |
Definition at line 435 of file PartialVariableAssignment.java.
Builder com.google.ortools.linearsolver.PartialVariableAssignment.Builder.mergeFrom | ( | com.google.ortools.linearsolver.PartialVariableAssignment | other | ) |
Definition at line 405 of file PartialVariableAssignment.java.
Builder com.google.ortools.linearsolver.PartialVariableAssignment.Builder.mergeFrom | ( | com.google.protobuf.CodedInputStream | input, |
com.google.protobuf.ExtensionRegistryLite | extensionRegistry ) throws java.io.IOException |
Definition at line 440 of file PartialVariableAssignment.java.
Builder com.google.ortools.linearsolver.PartialVariableAssignment.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
Definition at line 396 of file PartialVariableAssignment.java.
Builder com.google.ortools.linearsolver.PartialVariableAssignment.Builder.setVarIndex | ( | int | index, |
int | value ) |
repeated int32 var_index = 1 [packed = true];
index | The index to set the value at. |
value | The varIndex to set. |
Definition at line 542 of file PartialVariableAssignment.java.
Builder com.google.ortools.linearsolver.PartialVariableAssignment.Builder.setVarValue | ( | int | index, |
double | value ) |
repeated double var_value = 2 [packed = true];
index | The index to set the value at. |
value | The varValue to set. |
Definition at line 632 of file PartialVariableAssignment.java.