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.TableConstraintProto | getDefaultInstanceForType () |
com.google.ortools.sat.TableConstraintProto | build () |
com.google.ortools.sat.TableConstraintProto | buildPartial () |
Builder | mergeFrom (com.google.protobuf.Message other) |
Builder | mergeFrom (com.google.ortools.sat.TableConstraintProto 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 () |
boolean | getNegated () |
Builder | setNegated (boolean value) |
Builder | clearNegated () |
Public Member Functions inherited from com.google.ortools.sat.TableConstraintProtoOrBuilder |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
The values of the n-tuple formed by the given variables can only be one of the listed n-tuples in values. The n-tuples are encoded in a flattened way: [tuple0_v0, tuple0_v1, ..., tuple0_v{n-1}, tuple1_v0, ...].
Protobuf type operations_research.sat.TableConstraintProto
Definition at line 350 of file TableConstraintProto.java.
Builder com.google.ortools.sat.TableConstraintProto.Builder.addAllValues | ( | java.lang.Iterable<? extends java.lang.Long > | values | ) |
repeated int64 values = 2;
values | The values to add. |
Definition at line 695 of file TableConstraintProto.java.
Builder com.google.ortools.sat.TableConstraintProto.Builder.addAllVars | ( | java.lang.Iterable<? extends java.lang.Integer > | values | ) |
repeated int32 vars = 1;
values | The vars to add. |
Definition at line 611 of file TableConstraintProto.java.
Builder com.google.ortools.sat.TableConstraintProto.Builder.addValues | ( | long | value | ) |
repeated int64 values = 2;
value | The values to add. |
Definition at line 682 of file TableConstraintProto.java.
Builder com.google.ortools.sat.TableConstraintProto.Builder.addVars | ( | int | value | ) |
repeated int32 vars = 1;
value | The vars to add. |
Definition at line 598 of file TableConstraintProto.java.
com.google.ortools.sat.TableConstraintProto com.google.ortools.sat.TableConstraintProto.Builder.build | ( | ) |
Definition at line 399 of file TableConstraintProto.java.
com.google.ortools.sat.TableConstraintProto com.google.ortools.sat.TableConstraintProto.Builder.buildPartial | ( | ) |
Definition at line 408 of file TableConstraintProto.java.
Builder com.google.ortools.sat.TableConstraintProto.Builder.clear | ( | ) |
Definition at line 378 of file TableConstraintProto.java.
Builder com.google.ortools.sat.TableConstraintProto.Builder.clearNegated | ( | ) |
If true, the meaning is "negated", that is we forbid any of the given tuple from a feasible assignment.
bool negated = 3;
Definition at line 755 of file TableConstraintProto.java.
Builder com.google.ortools.sat.TableConstraintProto.Builder.clearValues | ( | ) |
repeated int64 values = 2;
Definition at line 708 of file TableConstraintProto.java.
Builder com.google.ortools.sat.TableConstraintProto.Builder.clearVars | ( | ) |
repeated int32 vars = 1;
Definition at line 624 of file TableConstraintProto.java.
com.google.ortools.sat.TableConstraintProto com.google.ortools.sat.TableConstraintProto.Builder.getDefaultInstanceForType | ( | ) |
Definition at line 394 of file TableConstraintProto.java.
|
static |
Definition at line 355 of file TableConstraintProto.java.
com.google.protobuf.Descriptors.Descriptor com.google.ortools.sat.TableConstraintProto.Builder.getDescriptorForType | ( | ) |
Definition at line 389 of file TableConstraintProto.java.
boolean com.google.ortools.sat.TableConstraintProto.Builder.getNegated | ( | ) |
If true, the meaning is "negated", that is we forbid any of the given tuple from a feasible assignment.
bool negated = 3;
Implements com.google.ortools.sat.TableConstraintProtoOrBuilder.
Definition at line 726 of file TableConstraintProto.java.
long com.google.ortools.sat.TableConstraintProto.Builder.getValues | ( | int | index | ) |
repeated int64 values = 2;
index | The index of the element to return. |
Implements com.google.ortools.sat.TableConstraintProtoOrBuilder.
Definition at line 659 of file TableConstraintProto.java.
int com.google.ortools.sat.TableConstraintProto.Builder.getValuesCount | ( | ) |
repeated int64 values = 2;
Implements com.google.ortools.sat.TableConstraintProtoOrBuilder.
Definition at line 651 of file TableConstraintProto.java.
java.util.List< java.lang.Long > com.google.ortools.sat.TableConstraintProto.Builder.getValuesList | ( | ) |
repeated int64 values = 2;
Implements com.google.ortools.sat.TableConstraintProtoOrBuilder.
Definition at line 643 of file TableConstraintProto.java.
int com.google.ortools.sat.TableConstraintProto.Builder.getVars | ( | int | index | ) |
repeated int32 vars = 1;
index | The index of the element to return. |
Implements com.google.ortools.sat.TableConstraintProtoOrBuilder.
Definition at line 575 of file TableConstraintProto.java.
int com.google.ortools.sat.TableConstraintProto.Builder.getVarsCount | ( | ) |
repeated int32 vars = 1;
Implements com.google.ortools.sat.TableConstraintProtoOrBuilder.
Definition at line 567 of file TableConstraintProto.java.
java.util.List< java.lang.Integer > com.google.ortools.sat.TableConstraintProto.Builder.getVarsList | ( | ) |
repeated int32 vars = 1;
Implements com.google.ortools.sat.TableConstraintProtoOrBuilder.
Definition at line 559 of file TableConstraintProto.java.
|
protected |
Definition at line 361 of file TableConstraintProto.java.
final boolean com.google.ortools.sat.TableConstraintProto.Builder.isInitialized | ( | ) |
Definition at line 473 of file TableConstraintProto.java.
Builder com.google.ortools.sat.TableConstraintProto.Builder.mergeFrom | ( | com.google.ortools.sat.TableConstraintProto | other | ) |
Definition at line 440 of file TableConstraintProto.java.
Builder com.google.ortools.sat.TableConstraintProto.Builder.mergeFrom | ( | com.google.protobuf.CodedInputStream | input, |
com.google.protobuf.ExtensionRegistryLite | extensionRegistry ) throws java.io.IOException |
Definition at line 478 of file TableConstraintProto.java.
Builder com.google.ortools.sat.TableConstraintProto.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
Definition at line 431 of file TableConstraintProto.java.
Builder com.google.ortools.sat.TableConstraintProto.Builder.setNegated | ( | boolean | value | ) |
If true, the meaning is "negated", that is we forbid any of the given tuple from a feasible assignment.
bool negated = 3;
value | The negated to set. |
Definition at line 739 of file TableConstraintProto.java.
Builder com.google.ortools.sat.TableConstraintProto.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 668 of file TableConstraintProto.java.
Builder com.google.ortools.sat.TableConstraintProto.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 584 of file TableConstraintProto.java.