Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Classes | |
class | Builder |
Public Member Functions | |
java.util.List< java.lang.Integer > | getXIntervalsList () |
int | getXIntervalsCount () |
int | getXIntervals (int index) |
java.util.List< java.lang.Integer > | getYIntervalsList () |
int | getYIntervalsCount () |
int | getYIntervals (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< NoOverlap2DConstraintProto > | getParserForType () |
com.google.ortools.sat.NoOverlap2DConstraintProto | getDefaultInstanceForType () |
Public Member Functions inherited from com.google.ortools.sat.NoOverlap2DConstraintProtoOrBuilder |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
static com.google.ortools.sat.NoOverlap2DConstraintProto | parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.NoOverlap2DConstraintProto | parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.NoOverlap2DConstraintProto | parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.NoOverlap2DConstraintProto | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.NoOverlap2DConstraintProto | parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.NoOverlap2DConstraintProto | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.NoOverlap2DConstraintProto | parseFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.sat.NoOverlap2DConstraintProto | parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.sat.NoOverlap2DConstraintProto | parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.sat.NoOverlap2DConstraintProto | parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.sat.NoOverlap2DConstraintProto | parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException |
static com.google.ortools.sat.NoOverlap2DConstraintProto | 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.NoOverlap2DConstraintProto prototype) |
static com.google.ortools.sat.NoOverlap2DConstraintProto | getDefaultInstance () |
static com.google.protobuf.Parser< NoOverlap2DConstraintProto > | parser () |
Static Public Attributes | |
static final int | X_INTERVALS_FIELD_NUMBER = 1 |
static final int | Y_INTERVALS_FIELD_NUMBER = 2 |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
Builder | newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent) |
The boxes defined by [start_x, end_x) * [start_y, end_y) cannot overlap. Furthermore, one box is optional if at least one of the x or y interval is optional. Note that the case of boxes of size zero is special. The following cases violate the constraint: - a point box inside a box with a non zero area - a line box overlapping a box with a non zero area - one vertical line box crossing an horizontal line box.
Protobuf type operations_research.sat.NoOverlap2DConstraintProto
Definition at line 22 of file NoOverlap2DConstraintProto.java.
boolean com.google.ortools.sat.NoOverlap2DConstraintProto.equals | ( | final java.lang.Object | obj | ) |
Definition at line 202 of file NoOverlap2DConstraintProto.java.
|
static |
Definition at line 736 of file NoOverlap2DConstraintProto.java.
com.google.ortools.sat.NoOverlap2DConstraintProto com.google.ortools.sat.NoOverlap2DConstraintProto.getDefaultInstanceForType | ( | ) |
Definition at line 772 of file NoOverlap2DConstraintProto.java.
|
static |
Definition at line 46 of file NoOverlap2DConstraintProto.java.
com.google.protobuf.Parser< NoOverlap2DConstraintProto > com.google.ortools.sat.NoOverlap2DConstraintProto.getParserForType | ( | ) |
Definition at line 767 of file NoOverlap2DConstraintProto.java.
int com.google.ortools.sat.NoOverlap2DConstraintProto.getSerializedSize | ( | ) |
Definition at line 163 of file NoOverlap2DConstraintProto.java.
int com.google.ortools.sat.NoOverlap2DConstraintProto.getXIntervals | ( | int | index | ) |
repeated int32 x_intervals = 1;
index | The index of the element to return. |
Implements com.google.ortools.sat.NoOverlap2DConstraintProtoOrBuilder.
Definition at line 83 of file NoOverlap2DConstraintProto.java.
int com.google.ortools.sat.NoOverlap2DConstraintProto.getXIntervalsCount | ( | ) |
repeated int32 x_intervals = 1;
Implements com.google.ortools.sat.NoOverlap2DConstraintProtoOrBuilder.
Definition at line 75 of file NoOverlap2DConstraintProto.java.
java.util.List< java.lang.Integer > com.google.ortools.sat.NoOverlap2DConstraintProto.getXIntervalsList | ( | ) |
repeated int32 x_intervals = 1;
Implements com.google.ortools.sat.NoOverlap2DConstraintProtoOrBuilder.
Definition at line 68 of file NoOverlap2DConstraintProto.java.
int com.google.ortools.sat.NoOverlap2DConstraintProto.getYIntervals | ( | int | index | ) |
Same size as x_intervals.
repeated int32 y_intervals = 2;
index | The index of the element to return. |
Implements com.google.ortools.sat.NoOverlap2DConstraintProtoOrBuilder.
Definition at line 125 of file NoOverlap2DConstraintProto.java.
int com.google.ortools.sat.NoOverlap2DConstraintProto.getYIntervalsCount | ( | ) |
Same size as x_intervals.
repeated int32 y_intervals = 2;
Implements com.google.ortools.sat.NoOverlap2DConstraintProtoOrBuilder.
Definition at line 113 of file NoOverlap2DConstraintProto.java.
java.util.List< java.lang.Integer > com.google.ortools.sat.NoOverlap2DConstraintProto.getYIntervalsList | ( | ) |
Same size as x_intervals.
repeated int32 y_intervals = 2;
Implements com.google.ortools.sat.NoOverlap2DConstraintProtoOrBuilder.
Definition at line 102 of file NoOverlap2DConstraintProto.java.
int com.google.ortools.sat.NoOverlap2DConstraintProto.hashCode | ( | ) |
Definition at line 220 of file NoOverlap2DConstraintProto.java.
|
protected |
Definition at line 52 of file NoOverlap2DConstraintProto.java.
final boolean com.google.ortools.sat.NoOverlap2DConstraintProto.isInitialized | ( | ) |
Definition at line 132 of file NoOverlap2DConstraintProto.java.
|
static |
Definition at line 313 of file NoOverlap2DConstraintProto.java.
|
static |
Definition at line 316 of file NoOverlap2DConstraintProto.java.
Builder com.google.ortools.sat.NoOverlap2DConstraintProto.newBuilderForType | ( | ) |
Definition at line 312 of file NoOverlap2DConstraintProto.java.
|
protected |
Definition at line 326 of file NoOverlap2DConstraintProto.java.
|
static |
Definition at line 284 of file NoOverlap2DConstraintProto.java.
|
static |
Definition at line 290 of file NoOverlap2DConstraintProto.java.
|
static |
Definition at line 261 of file NoOverlap2DConstraintProto.java.
|
static |
Definition at line 265 of file NoOverlap2DConstraintProto.java.
|
static |
Definition at line 250 of file NoOverlap2DConstraintProto.java.
|
static |
Definition at line 255 of file NoOverlap2DConstraintProto.java.
|
static |
Definition at line 297 of file NoOverlap2DConstraintProto.java.
|
static |
Definition at line 303 of file NoOverlap2DConstraintProto.java.
|
static |
Definition at line 271 of file NoOverlap2DConstraintProto.java.
|
static |
Definition at line 276 of file NoOverlap2DConstraintProto.java.
|
static |
Definition at line 239 of file NoOverlap2DConstraintProto.java.
|
static |
Definition at line 244 of file NoOverlap2DConstraintProto.java.
|
static |
Definition at line 762 of file NoOverlap2DConstraintProto.java.
Builder com.google.ortools.sat.NoOverlap2DConstraintProto.toBuilder | ( | ) |
Definition at line 320 of file NoOverlap2DConstraintProto.java.
void com.google.ortools.sat.NoOverlap2DConstraintProto.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException |
Definition at line 142 of file NoOverlap2DConstraintProto.java.
|
static |
Definition at line 58 of file NoOverlap2DConstraintProto.java.
|
static |
Definition at line 88 of file NoOverlap2DConstraintProto.java.