Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.sat.NoOverlap2DConstraintProtoOrBuilder Interface Reference
Inheritance diagram for com.google.ortools.sat.NoOverlap2DConstraintProtoOrBuilder:
com.google.ortools.sat.NoOverlap2DConstraintProto com.google.ortools.sat.NoOverlap2DConstraintProto.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)
 

Detailed Description

Definition at line 7 of file NoOverlap2DConstraintProtoOrBuilder.java.

Member Function Documentation

◆ getXIntervals()

int com.google.ortools.sat.NoOverlap2DConstraintProtoOrBuilder.getXIntervals ( int index)

repeated int32 x_intervals = 1;

Parameters
indexThe index of the element to return.
Returns
The xIntervals at the given index.

Implemented in com.google.ortools.sat.NoOverlap2DConstraintProto.Builder, and com.google.ortools.sat.NoOverlap2DConstraintProto.

◆ getXIntervalsCount()

int com.google.ortools.sat.NoOverlap2DConstraintProtoOrBuilder.getXIntervalsCount ( )

repeated int32 x_intervals = 1;

Returns
The count of xIntervals.

Implemented in com.google.ortools.sat.NoOverlap2DConstraintProto.Builder, and com.google.ortools.sat.NoOverlap2DConstraintProto.

◆ getXIntervalsList()

java.util.List< java.lang.Integer > com.google.ortools.sat.NoOverlap2DConstraintProtoOrBuilder.getXIntervalsList ( )

repeated int32 x_intervals = 1;

Returns
A list containing the xIntervals.

Implemented in com.google.ortools.sat.NoOverlap2DConstraintProto.Builder, and com.google.ortools.sat.NoOverlap2DConstraintProto.

◆ getYIntervals()

int com.google.ortools.sat.NoOverlap2DConstraintProtoOrBuilder.getYIntervals ( int index)
Same size as x_intervals.

repeated int32 y_intervals = 2;

Parameters
indexThe index of the element to return.
Returns
The yIntervals at the given index.

Implemented in com.google.ortools.sat.NoOverlap2DConstraintProto.Builder, and com.google.ortools.sat.NoOverlap2DConstraintProto.

◆ getYIntervalsCount()

int com.google.ortools.sat.NoOverlap2DConstraintProtoOrBuilder.getYIntervalsCount ( )
Same size as x_intervals.

repeated int32 y_intervals = 2;

Returns
The count of yIntervals.

Implemented in com.google.ortools.sat.NoOverlap2DConstraintProto.Builder, and com.google.ortools.sat.NoOverlap2DConstraintProto.

◆ getYIntervalsList()

java.util.List< java.lang.Integer > com.google.ortools.sat.NoOverlap2DConstraintProtoOrBuilder.getYIntervalsList ( )
Same size as x_intervals.

repeated int32 y_intervals = 2;

Returns
A list containing the yIntervals.

Implemented in com.google.ortools.sat.NoOverlap2DConstraintProto.Builder, and com.google.ortools.sat.NoOverlap2DConstraintProto.


The documentation for this interface was generated from the following file: