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.ElementConstraintProto | getDefaultInstanceForType () |
com.google.ortools.sat.ElementConstraintProto | build () |
com.google.ortools.sat.ElementConstraintProto | buildPartial () |
Builder | mergeFrom (com.google.protobuf.Message other) |
Builder | mergeFrom (com.google.ortools.sat.ElementConstraintProto other) |
final boolean | isInitialized () |
Builder | mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
int | getIndex () |
Builder | setIndex (int value) |
Builder | clearIndex () |
int | getTarget () |
Builder | setTarget (int value) |
Builder | clearTarget () |
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 () |
Public Member Functions inherited from com.google.ortools.sat.ElementConstraintProtoOrBuilder |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
The constraint target = vars[index]. This enforces that index takes one of the value in [0, vars_size()).
Protobuf type operations_research.sat.ElementConstraintProto
Definition at line 306 of file ElementConstraintProto.java.
Builder com.google.ortools.sat.ElementConstraintProto.Builder.addAllVars | ( | java.lang.Iterable<? extends java.lang.Integer > | values | ) |
repeated int32 vars = 3;
values | The vars to add. |
Definition at line 611 of file ElementConstraintProto.java.
Builder com.google.ortools.sat.ElementConstraintProto.Builder.addVars | ( | int | value | ) |
repeated int32 vars = 3;
value | The vars to add. |
Definition at line 598 of file ElementConstraintProto.java.
com.google.ortools.sat.ElementConstraintProto com.google.ortools.sat.ElementConstraintProto.Builder.build | ( | ) |
Definition at line 355 of file ElementConstraintProto.java.
com.google.ortools.sat.ElementConstraintProto com.google.ortools.sat.ElementConstraintProto.Builder.buildPartial | ( | ) |
Definition at line 364 of file ElementConstraintProto.java.
Builder com.google.ortools.sat.ElementConstraintProto.Builder.clear | ( | ) |
Definition at line 334 of file ElementConstraintProto.java.
Builder com.google.ortools.sat.ElementConstraintProto.Builder.clearIndex | ( | ) |
int32 index = 1;
Definition at line 508 of file ElementConstraintProto.java.
Builder com.google.ortools.sat.ElementConstraintProto.Builder.clearTarget | ( | ) |
int32 target = 2;
Definition at line 540 of file ElementConstraintProto.java.
Builder com.google.ortools.sat.ElementConstraintProto.Builder.clearVars | ( | ) |
repeated int32 vars = 3;
Definition at line 624 of file ElementConstraintProto.java.
com.google.ortools.sat.ElementConstraintProto com.google.ortools.sat.ElementConstraintProto.Builder.getDefaultInstanceForType | ( | ) |
Definition at line 350 of file ElementConstraintProto.java.
|
static |
Definition at line 311 of file ElementConstraintProto.java.
com.google.protobuf.Descriptors.Descriptor com.google.ortools.sat.ElementConstraintProto.Builder.getDescriptorForType | ( | ) |
Definition at line 345 of file ElementConstraintProto.java.
int com.google.ortools.sat.ElementConstraintProto.Builder.getIndex | ( | ) |
int32 index = 1;
Implements com.google.ortools.sat.ElementConstraintProtoOrBuilder.
Definition at line 489 of file ElementConstraintProto.java.
int com.google.ortools.sat.ElementConstraintProto.Builder.getTarget | ( | ) |
int32 target = 2;
Implements com.google.ortools.sat.ElementConstraintProtoOrBuilder.
Definition at line 521 of file ElementConstraintProto.java.
int com.google.ortools.sat.ElementConstraintProto.Builder.getVars | ( | int | index | ) |
repeated int32 vars = 3;
index | The index of the element to return. |
Implements com.google.ortools.sat.ElementConstraintProtoOrBuilder.
Definition at line 575 of file ElementConstraintProto.java.
int com.google.ortools.sat.ElementConstraintProto.Builder.getVarsCount | ( | ) |
repeated int32 vars = 3;
Implements com.google.ortools.sat.ElementConstraintProtoOrBuilder.
Definition at line 567 of file ElementConstraintProto.java.
java.util.List< java.lang.Integer > com.google.ortools.sat.ElementConstraintProto.Builder.getVarsList | ( | ) |
repeated int32 vars = 3;
Implements com.google.ortools.sat.ElementConstraintProtoOrBuilder.
Definition at line 559 of file ElementConstraintProto.java.
|
protected |
Definition at line 317 of file ElementConstraintProto.java.
final boolean com.google.ortools.sat.ElementConstraintProto.Builder.isInitialized | ( | ) |
Definition at line 420 of file ElementConstraintProto.java.
Builder com.google.ortools.sat.ElementConstraintProto.Builder.mergeFrom | ( | com.google.ortools.sat.ElementConstraintProto | other | ) |
Definition at line 395 of file ElementConstraintProto.java.
Builder com.google.ortools.sat.ElementConstraintProto.Builder.mergeFrom | ( | com.google.protobuf.CodedInputStream | input, |
com.google.protobuf.ExtensionRegistryLite | extensionRegistry ) throws java.io.IOException |
Definition at line 425 of file ElementConstraintProto.java.
Builder com.google.ortools.sat.ElementConstraintProto.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
Definition at line 386 of file ElementConstraintProto.java.
Builder com.google.ortools.sat.ElementConstraintProto.Builder.setIndex | ( | int | value | ) |
int32 index = 1;
value | The index to set. |
Definition at line 497 of file ElementConstraintProto.java.
Builder com.google.ortools.sat.ElementConstraintProto.Builder.setTarget | ( | int | value | ) |
int32 target = 2;
value | The target to set. |
Definition at line 529 of file ElementConstraintProto.java.
Builder com.google.ortools.sat.ElementConstraintProto.Builder.setVars | ( | int | index, |
int | value ) |
repeated int32 vars = 3;
index | The index to set the value at. |
value | The vars to set. |
Definition at line 584 of file ElementConstraintProto.java.