Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
Builder | clear () |
com.google.protobuf.Descriptors.Descriptor | getDescriptorForType () |
com.google.ortools.sat.NoOverlap2DConstraintProto | getDefaultInstanceForType () |
com.google.ortools.sat.NoOverlap2DConstraintProto | build () |
com.google.ortools.sat.NoOverlap2DConstraintProto | buildPartial () |
Builder | mergeFrom (com.google.protobuf.Message other) |
Builder | mergeFrom (com.google.ortools.sat.NoOverlap2DConstraintProto other) |
final boolean | isInitialized () |
Builder | mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
java.util.List< java.lang.Integer > | getXIntervalsList () |
int | getXIntervalsCount () |
int | getXIntervals (int index) |
Builder | setXIntervals (int index, int value) |
Builder | addXIntervals (int value) |
Builder | addAllXIntervals (java.lang.Iterable<? extends java.lang.Integer > values) |
Builder | clearXIntervals () |
java.util.List< java.lang.Integer > | getYIntervalsList () |
int | getYIntervalsCount () |
int | getYIntervals (int index) |
Builder | setYIntervals (int index, int value) |
Builder | addYIntervals (int value) |
Builder | addAllYIntervals (java.lang.Iterable<? extends java.lang.Integer > values) |
Builder | clearYIntervals () |
Public Member Functions inherited from com.google.ortools.sat.NoOverlap2DConstraintProtoOrBuilder |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
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 346 of file NoOverlap2DConstraintProto.java.
Builder com.google.ortools.sat.NoOverlap2DConstraintProto.Builder.addAllXIntervals | ( | java.lang.Iterable<? extends java.lang.Integer > | values | ) |
repeated int32 x_intervals = 1;
values | The xIntervals to add. |
Definition at line 595 of file NoOverlap2DConstraintProto.java.
Builder com.google.ortools.sat.NoOverlap2DConstraintProto.Builder.addAllYIntervals | ( | java.lang.Iterable<? extends java.lang.Integer > | values | ) |
Same size as x_intervals.
repeated int32 y_intervals = 2;
values | The yIntervals to add. |
Definition at line 703 of file NoOverlap2DConstraintProto.java.
Builder com.google.ortools.sat.NoOverlap2DConstraintProto.Builder.addXIntervals | ( | int | value | ) |
repeated int32 x_intervals = 1;
value | The xIntervals to add. |
Definition at line 582 of file NoOverlap2DConstraintProto.java.
Builder com.google.ortools.sat.NoOverlap2DConstraintProto.Builder.addYIntervals | ( | int | value | ) |
Same size as x_intervals.
repeated int32 y_intervals = 2;
value | The yIntervals to add. |
Definition at line 686 of file NoOverlap2DConstraintProto.java.
com.google.ortools.sat.NoOverlap2DConstraintProto com.google.ortools.sat.NoOverlap2DConstraintProto.Builder.build | ( | ) |
Definition at line 394 of file NoOverlap2DConstraintProto.java.
com.google.ortools.sat.NoOverlap2DConstraintProto com.google.ortools.sat.NoOverlap2DConstraintProto.Builder.buildPartial | ( | ) |
Definition at line 403 of file NoOverlap2DConstraintProto.java.
Builder com.google.ortools.sat.NoOverlap2DConstraintProto.Builder.clear | ( | ) |
Definition at line 374 of file NoOverlap2DConstraintProto.java.
Builder com.google.ortools.sat.NoOverlap2DConstraintProto.Builder.clearXIntervals | ( | ) |
repeated int32 x_intervals = 1;
Definition at line 608 of file NoOverlap2DConstraintProto.java.
Builder com.google.ortools.sat.NoOverlap2DConstraintProto.Builder.clearYIntervals | ( | ) |
Same size as x_intervals.
repeated int32 y_intervals = 2;
Definition at line 720 of file NoOverlap2DConstraintProto.java.
com.google.ortools.sat.NoOverlap2DConstraintProto com.google.ortools.sat.NoOverlap2DConstraintProto.Builder.getDefaultInstanceForType | ( | ) |
Definition at line 389 of file NoOverlap2DConstraintProto.java.
|
static |
Definition at line 351 of file NoOverlap2DConstraintProto.java.
com.google.protobuf.Descriptors.Descriptor com.google.ortools.sat.NoOverlap2DConstraintProto.Builder.getDescriptorForType | ( | ) |
Definition at line 384 of file NoOverlap2DConstraintProto.java.
int com.google.ortools.sat.NoOverlap2DConstraintProto.Builder.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 559 of file NoOverlap2DConstraintProto.java.
int com.google.ortools.sat.NoOverlap2DConstraintProto.Builder.getXIntervalsCount | ( | ) |
repeated int32 x_intervals = 1;
Implements com.google.ortools.sat.NoOverlap2DConstraintProtoOrBuilder.
Definition at line 551 of file NoOverlap2DConstraintProto.java.
java.util.List< java.lang.Integer > com.google.ortools.sat.NoOverlap2DConstraintProto.Builder.getXIntervalsList | ( | ) |
repeated int32 x_intervals = 1;
Implements com.google.ortools.sat.NoOverlap2DConstraintProtoOrBuilder.
Definition at line 543 of file NoOverlap2DConstraintProto.java.
int com.google.ortools.sat.NoOverlap2DConstraintProto.Builder.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 655 of file NoOverlap2DConstraintProto.java.
int com.google.ortools.sat.NoOverlap2DConstraintProto.Builder.getYIntervalsCount | ( | ) |
Same size as x_intervals.
repeated int32 y_intervals = 2;
Implements com.google.ortools.sat.NoOverlap2DConstraintProtoOrBuilder.
Definition at line 643 of file NoOverlap2DConstraintProto.java.
java.util.List< java.lang.Integer > com.google.ortools.sat.NoOverlap2DConstraintProto.Builder.getYIntervalsList | ( | ) |
Same size as x_intervals.
repeated int32 y_intervals = 2;
Implements com.google.ortools.sat.NoOverlap2DConstraintProtoOrBuilder.
Definition at line 631 of file NoOverlap2DConstraintProto.java.
|
protected |
Definition at line 357 of file NoOverlap2DConstraintProto.java.
final boolean com.google.ortools.sat.NoOverlap2DConstraintProto.Builder.isInitialized | ( | ) |
Definition at line 462 of file NoOverlap2DConstraintProto.java.
Builder com.google.ortools.sat.NoOverlap2DConstraintProto.Builder.mergeFrom | ( | com.google.ortools.sat.NoOverlap2DConstraintProto | other | ) |
Definition at line 432 of file NoOverlap2DConstraintProto.java.
Builder com.google.ortools.sat.NoOverlap2DConstraintProto.Builder.mergeFrom | ( | com.google.protobuf.CodedInputStream | input, |
com.google.protobuf.ExtensionRegistryLite | extensionRegistry ) throws java.io.IOException |
Definition at line 467 of file NoOverlap2DConstraintProto.java.
Builder com.google.ortools.sat.NoOverlap2DConstraintProto.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
Definition at line 423 of file NoOverlap2DConstraintProto.java.
Builder com.google.ortools.sat.NoOverlap2DConstraintProto.Builder.setXIntervals | ( | int | index, |
int | value ) |
repeated int32 x_intervals = 1;
index | The index to set the value at. |
value | The xIntervals to set. |
Definition at line 568 of file NoOverlap2DConstraintProto.java.
Builder com.google.ortools.sat.NoOverlap2DConstraintProto.Builder.setYIntervals | ( | int | index, |
int | value ) |
Same size as x_intervals.
repeated int32 y_intervals = 2;
index | The index to set the value at. |
value | The yIntervals to set. |
Definition at line 668 of file NoOverlap2DConstraintProto.java.