Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Classes | |
class | Builder |
Public Member Functions | |
int | getIndex () |
int | getTarget () |
java.util.List< java.lang.Integer > | getVarsList () |
int | getVarsCount () |
int | getVars (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< ElementConstraintProto > | getParserForType () |
com.google.ortools.sat.ElementConstraintProto | getDefaultInstanceForType () |
Public Member Functions inherited from com.google.ortools.sat.ElementConstraintProtoOrBuilder |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
static com.google.ortools.sat.ElementConstraintProto | parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.ElementConstraintProto | parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.ElementConstraintProto | parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.ElementConstraintProto | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.ElementConstraintProto | parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.ElementConstraintProto | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.ElementConstraintProto | parseFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.sat.ElementConstraintProto | parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.sat.ElementConstraintProto | parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.sat.ElementConstraintProto | parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.sat.ElementConstraintProto | parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException |
static com.google.ortools.sat.ElementConstraintProto | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static Builder | newBuilder () |
static Builder | newBuilder (com.google.ortools.sat.ElementConstraintProto prototype) |
static com.google.ortools.sat.ElementConstraintProto | getDefaultInstance () |
static com.google.protobuf.Parser< ElementConstraintProto > | parser () |
Static Public Attributes | |
static final int | INDEX_FIELD_NUMBER = 1 |
static final int | TARGET_FIELD_NUMBER = 2 |
static final int | VARS_FIELD_NUMBER = 3 |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
Builder | newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent) |
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 15 of file ElementConstraintProto.java.
boolean com.google.ortools.sat.ElementConstraintProto.equals | ( | final java.lang.Object | obj | ) |
Definition at line 167 of file ElementConstraintProto.java.
|
static |
Definition at line 640 of file ElementConstraintProto.java.
com.google.ortools.sat.ElementConstraintProto com.google.ortools.sat.ElementConstraintProto.getDefaultInstanceForType | ( | ) |
Definition at line 676 of file ElementConstraintProto.java.
|
static |
Definition at line 38 of file ElementConstraintProto.java.
int com.google.ortools.sat.ElementConstraintProto.getIndex | ( | ) |
int32 index = 1;
Implements com.google.ortools.sat.ElementConstraintProtoOrBuilder.
Definition at line 57 of file ElementConstraintProto.java.
com.google.protobuf.Parser< ElementConstraintProto > com.google.ortools.sat.ElementConstraintProto.getParserForType | ( | ) |
Definition at line 671 of file ElementConstraintProto.java.
int com.google.ortools.sat.ElementConstraintProto.getSerializedSize | ( | ) |
Definition at line 134 of file ElementConstraintProto.java.
int com.google.ortools.sat.ElementConstraintProto.getTarget | ( | ) |
int32 target = 2;
Implements com.google.ortools.sat.ElementConstraintProtoOrBuilder.
Definition at line 68 of file ElementConstraintProto.java.
int com.google.ortools.sat.ElementConstraintProto.getVars | ( | int | index | ) |
repeated int32 vars = 3;
index | The index of the element to return. |
Implements com.google.ortools.sat.ElementConstraintProtoOrBuilder.
Definition at line 97 of file ElementConstraintProto.java.
int com.google.ortools.sat.ElementConstraintProto.getVarsCount | ( | ) |
repeated int32 vars = 3;
Implements com.google.ortools.sat.ElementConstraintProtoOrBuilder.
Definition at line 89 of file ElementConstraintProto.java.
java.util.List< java.lang.Integer > com.google.ortools.sat.ElementConstraintProto.getVarsList | ( | ) |
repeated int32 vars = 3;
Implements com.google.ortools.sat.ElementConstraintProtoOrBuilder.
Definition at line 82 of file ElementConstraintProto.java.
int com.google.ortools.sat.ElementConstraintProto.hashCode | ( | ) |
Definition at line 187 of file ElementConstraintProto.java.
|
protected |
Definition at line 44 of file ElementConstraintProto.java.
final boolean com.google.ortools.sat.ElementConstraintProto.isInitialized | ( | ) |
Definition at line 104 of file ElementConstraintProto.java.
|
static |
Definition at line 280 of file ElementConstraintProto.java.
|
static |
Definition at line 283 of file ElementConstraintProto.java.
Builder com.google.ortools.sat.ElementConstraintProto.newBuilderForType | ( | ) |
Definition at line 279 of file ElementConstraintProto.java.
|
protected |
Definition at line 293 of file ElementConstraintProto.java.
|
static |
Definition at line 251 of file ElementConstraintProto.java.
|
static |
Definition at line 257 of file ElementConstraintProto.java.
|
static |
Definition at line 228 of file ElementConstraintProto.java.
|
static |
Definition at line 232 of file ElementConstraintProto.java.
|
static |
Definition at line 217 of file ElementConstraintProto.java.
|
static |
Definition at line 222 of file ElementConstraintProto.java.
|
static |
Definition at line 264 of file ElementConstraintProto.java.
|
static |
Definition at line 270 of file ElementConstraintProto.java.
|
static |
Definition at line 238 of file ElementConstraintProto.java.
|
static |
Definition at line 243 of file ElementConstraintProto.java.
|
static |
Definition at line 206 of file ElementConstraintProto.java.
|
static |
Definition at line 211 of file ElementConstraintProto.java.
|
static |
Definition at line 666 of file ElementConstraintProto.java.
Builder com.google.ortools.sat.ElementConstraintProto.toBuilder | ( | ) |
Definition at line 287 of file ElementConstraintProto.java.
void com.google.ortools.sat.ElementConstraintProto.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException |
Definition at line 114 of file ElementConstraintProto.java.
|
static |
Definition at line 50 of file ElementConstraintProto.java.
|
static |
Definition at line 61 of file ElementConstraintProto.java.
|
static |
Definition at line 72 of file ElementConstraintProto.java.