Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.sat.NoOverlapConstraintProtoOrBuilder Interface Reference
Inheritance diagram for com.google.ortools.sat.NoOverlapConstraintProtoOrBuilder:
com.google.ortools.sat.NoOverlapConstraintProto com.google.ortools.sat.NoOverlapConstraintProto.Builder

Public Member Functions

java.util.List< java.lang.Integer > getIntervalsList ()
 
int getIntervalsCount ()
 
int getIntervals (int index)
 

Detailed Description

Definition at line 7 of file NoOverlapConstraintProtoOrBuilder.java.

Member Function Documentation

◆ getIntervals()

int com.google.ortools.sat.NoOverlapConstraintProtoOrBuilder.getIntervals ( int index)

repeated int32 intervals = 1;

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

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

◆ getIntervalsCount()

int com.google.ortools.sat.NoOverlapConstraintProtoOrBuilder.getIntervalsCount ( )

repeated int32 intervals = 1;

Returns
The count of intervals.

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

◆ getIntervalsList()

java.util.List< java.lang.Integer > com.google.ortools.sat.NoOverlapConstraintProtoOrBuilder.getIntervalsList ( )

repeated int32 intervals = 1;

Returns
A list containing the intervals.

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


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