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.sat.PartialVariableAssignment | getDefaultInstanceForType () |
com.google.ortools.sat.PartialVariableAssignment | build () |
com.google.ortools.sat.PartialVariableAssignment | buildPartial () |
Builder | mergeFrom (com.google.protobuf.Message other) |
Builder | mergeFrom (com.google.ortools.sat.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 > | getVarsList () |
int | getVarsCount () |
int | getVars (int index) |
Builder | setVars (int index, int value) |
Builder | addVars (int value) |
Builder | addAllVars (java.lang.Iterable<? extends java.lang.Integer > values) |
Builder | clearVars () |
java.util.List< java.lang.Long > | getValuesList () |
int | getValuesCount () |
long | getValues (int index) |
Builder | setValues (int index, long value) |
Builder | addValues (long value) |
Builder | addAllValues (java.lang.Iterable<? extends java.lang.Long > values) |
Builder | clearValues () |
Public Member Functions inherited from com.google.ortools.sat.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 CpModelProto. The variable indices should be unique and valid variable indices.
Protobuf type operations_research.sat.PartialVariableAssignment
Definition at line 322 of file PartialVariableAssignment.java.
Builder com.google.ortools.sat.PartialVariableAssignment.Builder.addAllValues | ( | java.lang.Iterable<? extends java.lang.Long > | values | ) |
repeated int64 values = 2;
values | The values to add. |
Definition at line 655 of file PartialVariableAssignment.java.
Builder com.google.ortools.sat.PartialVariableAssignment.Builder.addAllVars | ( | java.lang.Iterable<? extends java.lang.Integer > | values | ) |
repeated int32 vars = 1;
values | The vars to add. |
Definition at line 571 of file PartialVariableAssignment.java.
Builder com.google.ortools.sat.PartialVariableAssignment.Builder.addValues | ( | long | value | ) |
repeated int64 values = 2;
value | The values to add. |
Definition at line 642 of file PartialVariableAssignment.java.
Builder com.google.ortools.sat.PartialVariableAssignment.Builder.addVars | ( | int | value | ) |
repeated int32 vars = 1;
value | The vars to add. |
Definition at line 558 of file PartialVariableAssignment.java.
com.google.ortools.sat.PartialVariableAssignment com.google.ortools.sat.PartialVariableAssignment.Builder.build | ( | ) |
Definition at line 370 of file PartialVariableAssignment.java.
com.google.ortools.sat.PartialVariableAssignment com.google.ortools.sat.PartialVariableAssignment.Builder.buildPartial | ( | ) |
Definition at line 379 of file PartialVariableAssignment.java.
Builder com.google.ortools.sat.PartialVariableAssignment.Builder.clear | ( | ) |
Definition at line 350 of file PartialVariableAssignment.java.
Builder com.google.ortools.sat.PartialVariableAssignment.Builder.clearValues | ( | ) |
repeated int64 values = 2;
Definition at line 668 of file PartialVariableAssignment.java.
Builder com.google.ortools.sat.PartialVariableAssignment.Builder.clearVars | ( | ) |
repeated int32 vars = 1;
Definition at line 584 of file PartialVariableAssignment.java.
com.google.ortools.sat.PartialVariableAssignment com.google.ortools.sat.PartialVariableAssignment.Builder.getDefaultInstanceForType | ( | ) |
Definition at line 365 of file PartialVariableAssignment.java.
|
static |
Definition at line 327 of file PartialVariableAssignment.java.
com.google.protobuf.Descriptors.Descriptor com.google.ortools.sat.PartialVariableAssignment.Builder.getDescriptorForType | ( | ) |
Definition at line 360 of file PartialVariableAssignment.java.
long com.google.ortools.sat.PartialVariableAssignment.Builder.getValues | ( | int | index | ) |
repeated int64 values = 2;
index | The index of the element to return. |
Implements com.google.ortools.sat.PartialVariableAssignmentOrBuilder.
Definition at line 619 of file PartialVariableAssignment.java.
int com.google.ortools.sat.PartialVariableAssignment.Builder.getValuesCount | ( | ) |
repeated int64 values = 2;
Implements com.google.ortools.sat.PartialVariableAssignmentOrBuilder.
Definition at line 611 of file PartialVariableAssignment.java.
java.util.List< java.lang.Long > com.google.ortools.sat.PartialVariableAssignment.Builder.getValuesList | ( | ) |
repeated int64 values = 2;
Implements com.google.ortools.sat.PartialVariableAssignmentOrBuilder.
Definition at line 603 of file PartialVariableAssignment.java.
int com.google.ortools.sat.PartialVariableAssignment.Builder.getVars | ( | int | index | ) |
repeated int32 vars = 1;
index | The index of the element to return. |
Implements com.google.ortools.sat.PartialVariableAssignmentOrBuilder.
Definition at line 535 of file PartialVariableAssignment.java.
int com.google.ortools.sat.PartialVariableAssignment.Builder.getVarsCount | ( | ) |
repeated int32 vars = 1;
Implements com.google.ortools.sat.PartialVariableAssignmentOrBuilder.
Definition at line 527 of file PartialVariableAssignment.java.
java.util.List< java.lang.Integer > com.google.ortools.sat.PartialVariableAssignment.Builder.getVarsList | ( | ) |
repeated int32 vars = 1;
Implements com.google.ortools.sat.PartialVariableAssignmentOrBuilder.
Definition at line 519 of file PartialVariableAssignment.java.
|
protected |
Definition at line 333 of file PartialVariableAssignment.java.
final boolean com.google.ortools.sat.PartialVariableAssignment.Builder.isInitialized | ( | ) |
Definition at line 438 of file PartialVariableAssignment.java.
Builder com.google.ortools.sat.PartialVariableAssignment.Builder.mergeFrom | ( | com.google.ortools.sat.PartialVariableAssignment | other | ) |
Definition at line 408 of file PartialVariableAssignment.java.
Builder com.google.ortools.sat.PartialVariableAssignment.Builder.mergeFrom | ( | com.google.protobuf.CodedInputStream | input, |
com.google.protobuf.ExtensionRegistryLite | extensionRegistry ) throws java.io.IOException |
Definition at line 443 of file PartialVariableAssignment.java.
Builder com.google.ortools.sat.PartialVariableAssignment.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
Definition at line 399 of file PartialVariableAssignment.java.
Builder com.google.ortools.sat.PartialVariableAssignment.Builder.setValues | ( | int | index, |
long | value ) |
repeated int64 values = 2;
index | The index to set the value at. |
value | The values to set. |
Definition at line 628 of file PartialVariableAssignment.java.
Builder com.google.ortools.sat.PartialVariableAssignment.Builder.setVars | ( | int | index, |
int | value ) |
repeated int32 vars = 1;
index | The index to set the value at. |
value | The vars to set. |
Definition at line 544 of file PartialVariableAssignment.java.