Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
All the intervals (index of IntervalConstraintProto) must be disjoint. More formally, there must exist a sequence so that for each consecutive intervals, we have end_i <= start_{i+1}. In particular, intervals of size zero do matter for this constraint. This is also known as a disjunctive constraint in scheduling.
Protobuf type operations_research.sat.NoOverlapConstraintProto
Definition at line 268 of file NoOverlapConstraintProto.java.
Builder com.google.ortools.sat.NoOverlapConstraintProto.Builder.addAllIntervals | ( | java.lang.Iterable<? extends java.lang.Integer > | values | ) |
repeated int32 intervals = 1;
values | The intervals to add. |
Definition at line 485 of file NoOverlapConstraintProto.java.
Builder com.google.ortools.sat.NoOverlapConstraintProto.Builder.addIntervals | ( | int | value | ) |
repeated int32 intervals = 1;
value | The intervals to add. |
Definition at line 472 of file NoOverlapConstraintProto.java.
com.google.ortools.sat.NoOverlapConstraintProto com.google.ortools.sat.NoOverlapConstraintProto.Builder.build | ( | ) |
Definition at line 315 of file NoOverlapConstraintProto.java.
com.google.ortools.sat.NoOverlapConstraintProto com.google.ortools.sat.NoOverlapConstraintProto.Builder.buildPartial | ( | ) |
Definition at line 324 of file NoOverlapConstraintProto.java.
Builder com.google.ortools.sat.NoOverlapConstraintProto.Builder.clear | ( | ) |
Definition at line 296 of file NoOverlapConstraintProto.java.
Builder com.google.ortools.sat.NoOverlapConstraintProto.Builder.clearIntervals | ( | ) |
repeated int32 intervals = 1;
Definition at line 498 of file NoOverlapConstraintProto.java.
com.google.ortools.sat.NoOverlapConstraintProto com.google.ortools.sat.NoOverlapConstraintProto.Builder.getDefaultInstanceForType | ( | ) |
Definition at line 310 of file NoOverlapConstraintProto.java.
|
static |
Definition at line 273 of file NoOverlapConstraintProto.java.
com.google.protobuf.Descriptors.Descriptor com.google.ortools.sat.NoOverlapConstraintProto.Builder.getDescriptorForType | ( | ) |
Definition at line 305 of file NoOverlapConstraintProto.java.
int com.google.ortools.sat.NoOverlapConstraintProto.Builder.getIntervals | ( | int | index | ) |
repeated int32 intervals = 1;
index | The index of the element to return. |
Implements com.google.ortools.sat.NoOverlapConstraintProtoOrBuilder.
Definition at line 449 of file NoOverlapConstraintProto.java.
int com.google.ortools.sat.NoOverlapConstraintProto.Builder.getIntervalsCount | ( | ) |
repeated int32 intervals = 1;
Implements com.google.ortools.sat.NoOverlapConstraintProtoOrBuilder.
Definition at line 441 of file NoOverlapConstraintProto.java.
java.util.List< java.lang.Integer > com.google.ortools.sat.NoOverlapConstraintProto.Builder.getIntervalsList | ( | ) |
repeated int32 intervals = 1;
Implements com.google.ortools.sat.NoOverlapConstraintProtoOrBuilder.
Definition at line 433 of file NoOverlapConstraintProto.java.
|
protected |
Definition at line 279 of file NoOverlapConstraintProto.java.
final boolean com.google.ortools.sat.NoOverlapConstraintProto.Builder.isInitialized | ( | ) |
Definition at line 368 of file NoOverlapConstraintProto.java.
Builder com.google.ortools.sat.NoOverlapConstraintProto.Builder.mergeFrom | ( | com.google.ortools.sat.NoOverlapConstraintProto | other | ) |
Definition at line 349 of file NoOverlapConstraintProto.java.
Builder com.google.ortools.sat.NoOverlapConstraintProto.Builder.mergeFrom | ( | com.google.protobuf.CodedInputStream | input, |
com.google.protobuf.ExtensionRegistryLite | extensionRegistry ) throws java.io.IOException |
Definition at line 373 of file NoOverlapConstraintProto.java.
Builder com.google.ortools.sat.NoOverlapConstraintProto.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
Definition at line 340 of file NoOverlapConstraintProto.java.
Builder com.google.ortools.sat.NoOverlapConstraintProto.Builder.setIntervals | ( | int | index, |
int | value ) |
repeated int32 intervals = 1;
index | The index to set the value at. |
value | The intervals to set. |
Definition at line 458 of file NoOverlapConstraintProto.java.