Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Classes | |
class | Builder |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
static com.google.ortools.sat.CumulativeConstraintProto | parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.CumulativeConstraintProto | parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.CumulativeConstraintProto | parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.CumulativeConstraintProto | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.CumulativeConstraintProto | parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.CumulativeConstraintProto | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.CumulativeConstraintProto | parseFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.sat.CumulativeConstraintProto | parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.sat.CumulativeConstraintProto | parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.sat.CumulativeConstraintProto | parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.sat.CumulativeConstraintProto | parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException |
static com.google.ortools.sat.CumulativeConstraintProto | 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.CumulativeConstraintProto prototype) |
static com.google.ortools.sat.CumulativeConstraintProto | getDefaultInstance () |
static com.google.protobuf.Parser< CumulativeConstraintProto > | parser () |
Static Public Attributes | |
static final int | CAPACITY_FIELD_NUMBER = 1 |
static final int | INTERVALS_FIELD_NUMBER = 2 |
static final int | DEMANDS_FIELD_NUMBER = 3 |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
Builder | newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent) |
The sum of the demands of the intervals at each interval point cannot exceed a capacity. Note that intervals are interpreted as [start, end) and as such intervals like [2,3) and [3,4) do not overlap for the point of view of this constraint. Moreover, intervals of size zero are ignored. All demands must not contain any negative value in their domains. This is checked at validation. The capacity can currently contains negative values, but it will be propagated to >= 0 right away.
Protobuf type operations_research.sat.CumulativeConstraintProto
Definition at line 21 of file CumulativeConstraintProto.java.
boolean com.google.ortools.sat.CumulativeConstraintProto.equals | ( | final java.lang.Object | obj | ) |
Definition at line 240 of file CumulativeConstraintProto.java.
com.google.ortools.sat.LinearExpressionProto com.google.ortools.sat.CumulativeConstraintProto.getCapacity | ( | ) |
.operations_research.sat.LinearExpressionProto capacity = 1;
Implements com.google.ortools.sat.CumulativeConstraintProtoOrBuilder.
Definition at line 73 of file CumulativeConstraintProto.java.
com.google.ortools.sat.LinearExpressionProtoOrBuilder com.google.ortools.sat.CumulativeConstraintProto.getCapacityOrBuilder | ( | ) |
.operations_research.sat.LinearExpressionProto capacity = 1;
Implements com.google.ortools.sat.CumulativeConstraintProtoOrBuilder.
Definition at line 80 of file CumulativeConstraintProto.java.
|
static |
Definition at line 1160 of file CumulativeConstraintProto.java.
com.google.ortools.sat.CumulativeConstraintProto com.google.ortools.sat.CumulativeConstraintProto.getDefaultInstanceForType | ( | ) |
Definition at line 1196 of file CumulativeConstraintProto.java.
com.google.ortools.sat.LinearExpressionProto com.google.ortools.sat.CumulativeConstraintProto.getDemands | ( | int | index | ) |
Same size as intervals.
repeated .operations_research.sat.LinearExpressionProto demands = 3;
Implements com.google.ortools.sat.CumulativeConstraintProtoOrBuilder.
Definition at line 159 of file CumulativeConstraintProto.java.
int com.google.ortools.sat.CumulativeConstraintProto.getDemandsCount | ( | ) |
Same size as intervals.
repeated .operations_research.sat.LinearExpressionProto demands = 3;
Implements com.google.ortools.sat.CumulativeConstraintProtoOrBuilder.
Definition at line 148 of file CumulativeConstraintProto.java.
java.util.List< com.google.ortools.sat.LinearExpressionProto > com.google.ortools.sat.CumulativeConstraintProto.getDemandsList | ( | ) |
Same size as intervals.
repeated .operations_research.sat.LinearExpressionProto demands = 3;
Implements com.google.ortools.sat.CumulativeConstraintProtoOrBuilder.
Definition at line 125 of file CumulativeConstraintProto.java.
com.google.ortools.sat.LinearExpressionProtoOrBuilder com.google.ortools.sat.CumulativeConstraintProto.getDemandsOrBuilder | ( | int | index | ) |
Same size as intervals.
repeated .operations_research.sat.LinearExpressionProto demands = 3;
Implements com.google.ortools.sat.CumulativeConstraintProtoOrBuilder.
Definition at line 170 of file CumulativeConstraintProto.java.
java.util.List<? extends com.google.ortools.sat.LinearExpressionProtoOrBuilder > com.google.ortools.sat.CumulativeConstraintProto.getDemandsOrBuilderList | ( | ) |
Same size as intervals.
repeated .operations_research.sat.LinearExpressionProto demands = 3;
Implements com.google.ortools.sat.CumulativeConstraintProtoOrBuilder.
Definition at line 137 of file CumulativeConstraintProto.java.
|
static |
Definition at line 45 of file CumulativeConstraintProto.java.
int com.google.ortools.sat.CumulativeConstraintProto.getIntervals | ( | int | index | ) |
repeated int32 intervals = 2;
index | The index of the element to return. |
Implements com.google.ortools.sat.CumulativeConstraintProtoOrBuilder.
Definition at line 109 of file CumulativeConstraintProto.java.
int com.google.ortools.sat.CumulativeConstraintProto.getIntervalsCount | ( | ) |
repeated int32 intervals = 2;
Implements com.google.ortools.sat.CumulativeConstraintProtoOrBuilder.
Definition at line 101 of file CumulativeConstraintProto.java.
java.util.List< java.lang.Integer > com.google.ortools.sat.CumulativeConstraintProto.getIntervalsList | ( | ) |
repeated int32 intervals = 2;
Implements com.google.ortools.sat.CumulativeConstraintProtoOrBuilder.
Definition at line 94 of file CumulativeConstraintProto.java.
com.google.protobuf.Parser< CumulativeConstraintProto > com.google.ortools.sat.CumulativeConstraintProto.getParserForType | ( | ) |
Definition at line 1191 of file CumulativeConstraintProto.java.
int com.google.ortools.sat.CumulativeConstraintProto.getSerializedSize | ( | ) |
Definition at line 207 of file CumulativeConstraintProto.java.
boolean com.google.ortools.sat.CumulativeConstraintProto.hasCapacity | ( | ) |
.operations_research.sat.LinearExpressionProto capacity = 1;
Implements com.google.ortools.sat.CumulativeConstraintProtoOrBuilder.
Definition at line 65 of file CumulativeConstraintProto.java.
int com.google.ortools.sat.CumulativeConstraintProto.hashCode | ( | ) |
Definition at line 263 of file CumulativeConstraintProto.java.
|
protected |
Definition at line 51 of file CumulativeConstraintProto.java.
final boolean com.google.ortools.sat.CumulativeConstraintProto.isInitialized | ( | ) |
Definition at line 177 of file CumulativeConstraintProto.java.
|
static |
Definition at line 360 of file CumulativeConstraintProto.java.
|
static |
Definition at line 363 of file CumulativeConstraintProto.java.
Builder com.google.ortools.sat.CumulativeConstraintProto.newBuilderForType | ( | ) |
Definition at line 359 of file CumulativeConstraintProto.java.
|
protected |
Definition at line 373 of file CumulativeConstraintProto.java.
|
static |
Definition at line 331 of file CumulativeConstraintProto.java.
|
static |
Definition at line 337 of file CumulativeConstraintProto.java.
|
static |
Definition at line 308 of file CumulativeConstraintProto.java.
|
static |
Definition at line 312 of file CumulativeConstraintProto.java.
|
static |
Definition at line 297 of file CumulativeConstraintProto.java.
|
static |
Definition at line 302 of file CumulativeConstraintProto.java.
|
static |
Definition at line 344 of file CumulativeConstraintProto.java.
|
static |
Definition at line 350 of file CumulativeConstraintProto.java.
|
static |
Definition at line 318 of file CumulativeConstraintProto.java.
|
static |
Definition at line 323 of file CumulativeConstraintProto.java.
|
static |
Definition at line 286 of file CumulativeConstraintProto.java.
|
static |
Definition at line 291 of file CumulativeConstraintProto.java.
|
static |
Definition at line 1186 of file CumulativeConstraintProto.java.
Builder com.google.ortools.sat.CumulativeConstraintProto.toBuilder | ( | ) |
Definition at line 367 of file CumulativeConstraintProto.java.
void com.google.ortools.sat.CumulativeConstraintProto.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException |
Definition at line 187 of file CumulativeConstraintProto.java.
|
static |
Definition at line 58 of file CumulativeConstraintProto.java.
|
static |
Definition at line 114 of file CumulativeConstraintProto.java.
|
static |
Definition at line 84 of file CumulativeConstraintProto.java.