Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Classes | |
class | Builder |
Public Member Functions | |
boolean | hasStart () |
com.google.ortools.sat.LinearExpressionProto | getStart () |
com.google.ortools.sat.LinearExpressionProtoOrBuilder | getStartOrBuilder () |
boolean | hasEnd () |
com.google.ortools.sat.LinearExpressionProto | getEnd () |
com.google.ortools.sat.LinearExpressionProtoOrBuilder | getEndOrBuilder () |
boolean | hasSize () |
com.google.ortools.sat.LinearExpressionProto | getSize () |
com.google.ortools.sat.LinearExpressionProtoOrBuilder | getSizeOrBuilder () |
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< IntervalConstraintProto > | getParserForType () |
com.google.ortools.sat.IntervalConstraintProto | getDefaultInstanceForType () |
Public Member Functions inherited from com.google.ortools.sat.IntervalConstraintProtoOrBuilder |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
static com.google.ortools.sat.IntervalConstraintProto | parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.IntervalConstraintProto | parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.IntervalConstraintProto | parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.IntervalConstraintProto | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.IntervalConstraintProto | parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.IntervalConstraintProto | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.IntervalConstraintProto | parseFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.sat.IntervalConstraintProto | parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.sat.IntervalConstraintProto | parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.sat.IntervalConstraintProto | parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.sat.IntervalConstraintProto | parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException |
static com.google.ortools.sat.IntervalConstraintProto | 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.IntervalConstraintProto prototype) |
static com.google.ortools.sat.IntervalConstraintProto | getDefaultInstance () |
static com.google.protobuf.Parser< IntervalConstraintProto > | parser () |
Static Public Attributes | |
static final int | START_FIELD_NUMBER = 4 |
static final int | END_FIELD_NUMBER = 5 |
static final int | SIZE_FIELD_NUMBER = 6 |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
Builder | newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent) |
This is not really a constraint. It is there so it can be referred by other constraints using this "interval" concept. IMPORTANT: For now, this constraint do not enforce any relations on the components, and it is up to the client to add in the model: - enforcement => start + size == end. - enforcement => size >= 0 // Only needed if size is not already >= 0. IMPORTANT: For now, we just support affine relation. We could easily create an intermediate variable to support full linear expression, but this isn't done currently.
Protobuf type operations_research.sat.IntervalConstraintProto
Definition at line 24 of file IntervalConstraintProto.java.
boolean com.google.ortools.sat.IntervalConstraintProto.equals | ( | final java.lang.Object | obj | ) |
Definition at line 187 of file IntervalConstraintProto.java.
|
static |
Definition at line 914 of file IntervalConstraintProto.java.
com.google.ortools.sat.IntervalConstraintProto com.google.ortools.sat.IntervalConstraintProto.getDefaultInstanceForType | ( | ) |
Definition at line 950 of file IntervalConstraintProto.java.
|
static |
Definition at line 46 of file IntervalConstraintProto.java.
com.google.ortools.sat.LinearExpressionProto com.google.ortools.sat.IntervalConstraintProto.getEnd | ( | ) |
.operations_research.sat.LinearExpressionProto end = 5;
Implements com.google.ortools.sat.IntervalConstraintProtoOrBuilder.
Definition at line 100 of file IntervalConstraintProto.java.
com.google.ortools.sat.LinearExpressionProtoOrBuilder com.google.ortools.sat.IntervalConstraintProto.getEndOrBuilder | ( | ) |
.operations_research.sat.LinearExpressionProto end = 5;
Implements com.google.ortools.sat.IntervalConstraintProtoOrBuilder.
Definition at line 107 of file IntervalConstraintProto.java.
com.google.protobuf.Parser< IntervalConstraintProto > com.google.ortools.sat.IntervalConstraintProto.getParserForType | ( | ) |
Definition at line 945 of file IntervalConstraintProto.java.
int com.google.ortools.sat.IntervalConstraintProto.getSerializedSize | ( | ) |
Definition at line 164 of file IntervalConstraintProto.java.
com.google.ortools.sat.LinearExpressionProto com.google.ortools.sat.IntervalConstraintProto.getSize | ( | ) |
.operations_research.sat.LinearExpressionProto size = 6;
Implements com.google.ortools.sat.IntervalConstraintProtoOrBuilder.
Definition at line 126 of file IntervalConstraintProto.java.
com.google.ortools.sat.LinearExpressionProtoOrBuilder com.google.ortools.sat.IntervalConstraintProto.getSizeOrBuilder | ( | ) |
.operations_research.sat.LinearExpressionProto size = 6;
Implements com.google.ortools.sat.IntervalConstraintProtoOrBuilder.
Definition at line 133 of file IntervalConstraintProto.java.
com.google.ortools.sat.LinearExpressionProto com.google.ortools.sat.IntervalConstraintProto.getStart | ( | ) |
.operations_research.sat.LinearExpressionProto start = 4;
Implements com.google.ortools.sat.IntervalConstraintProtoOrBuilder.
Definition at line 74 of file IntervalConstraintProto.java.
com.google.ortools.sat.LinearExpressionProtoOrBuilder com.google.ortools.sat.IntervalConstraintProto.getStartOrBuilder | ( | ) |
.operations_research.sat.LinearExpressionProto start = 4;
Implements com.google.ortools.sat.IntervalConstraintProtoOrBuilder.
Definition at line 81 of file IntervalConstraintProto.java.
boolean com.google.ortools.sat.IntervalConstraintProto.hasEnd | ( | ) |
.operations_research.sat.LinearExpressionProto end = 5;
Implements com.google.ortools.sat.IntervalConstraintProtoOrBuilder.
Definition at line 92 of file IntervalConstraintProto.java.
int com.google.ortools.sat.IntervalConstraintProto.hashCode | ( | ) |
Definition at line 216 of file IntervalConstraintProto.java.
boolean com.google.ortools.sat.IntervalConstraintProto.hasSize | ( | ) |
.operations_research.sat.LinearExpressionProto size = 6;
Implements com.google.ortools.sat.IntervalConstraintProtoOrBuilder.
Definition at line 118 of file IntervalConstraintProto.java.
boolean com.google.ortools.sat.IntervalConstraintProto.hasStart | ( | ) |
.operations_research.sat.LinearExpressionProto start = 4;
Implements com.google.ortools.sat.IntervalConstraintProtoOrBuilder.
Definition at line 66 of file IntervalConstraintProto.java.
|
protected |
Definition at line 52 of file IntervalConstraintProto.java.
final boolean com.google.ortools.sat.IntervalConstraintProto.isInitialized | ( | ) |
Definition at line 139 of file IntervalConstraintProto.java.
|
static |
Definition at line 313 of file IntervalConstraintProto.java.
|
static |
Definition at line 316 of file IntervalConstraintProto.java.
Builder com.google.ortools.sat.IntervalConstraintProto.newBuilderForType | ( | ) |
Definition at line 312 of file IntervalConstraintProto.java.
|
protected |
Definition at line 326 of file IntervalConstraintProto.java.
|
static |
Definition at line 284 of file IntervalConstraintProto.java.
|
static |
Definition at line 290 of file IntervalConstraintProto.java.
|
static |
Definition at line 261 of file IntervalConstraintProto.java.
|
static |
Definition at line 265 of file IntervalConstraintProto.java.
|
static |
Definition at line 250 of file IntervalConstraintProto.java.
|
static |
Definition at line 255 of file IntervalConstraintProto.java.
|
static |
Definition at line 297 of file IntervalConstraintProto.java.
|
static |
Definition at line 303 of file IntervalConstraintProto.java.
|
static |
Definition at line 271 of file IntervalConstraintProto.java.
|
static |
Definition at line 276 of file IntervalConstraintProto.java.
|
static |
Definition at line 239 of file IntervalConstraintProto.java.
|
static |
Definition at line 244 of file IntervalConstraintProto.java.
|
static |
Definition at line 940 of file IntervalConstraintProto.java.
Builder com.google.ortools.sat.IntervalConstraintProto.toBuilder | ( | ) |
Definition at line 320 of file IntervalConstraintProto.java.
void com.google.ortools.sat.IntervalConstraintProto.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException |
Definition at line 149 of file IntervalConstraintProto.java.
|
static |
Definition at line 85 of file IntervalConstraintProto.java.
|
static |
Definition at line 111 of file IntervalConstraintProto.java.
|
static |
Definition at line 59 of file IntervalConstraintProto.java.