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

Public Member Functions

boolean hasCapacity ()
 
com.google.ortools.sat.LinearExpressionProto getCapacity ()
 
com.google.ortools.sat.LinearExpressionProtoOrBuilder getCapacityOrBuilder ()
 
java.util.List< java.lang.Integer > getIntervalsList ()
 
int getIntervalsCount ()
 
int getIntervals (int index)
 
java.util.List< com.google.ortools.sat.LinearExpressionProtogetDemandsList ()
 
com.google.ortools.sat.LinearExpressionProto getDemands (int index)
 
int getDemandsCount ()
 
java.util.List<? extends com.google.ortools.sat.LinearExpressionProtoOrBuildergetDemandsOrBuilderList ()
 
com.google.ortools.sat.LinearExpressionProtoOrBuilder getDemandsOrBuilder (int index)
 

Detailed Description

Definition at line 7 of file CumulativeConstraintProtoOrBuilder.java.

Member Function Documentation

◆ getCapacity()

com.google.ortools.sat.LinearExpressionProto com.google.ortools.sat.CumulativeConstraintProtoOrBuilder.getCapacity ( )

.operations_research.sat.LinearExpressionProto capacity = 1;

Returns
The capacity.

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

◆ getCapacityOrBuilder()

com.google.ortools.sat.LinearExpressionProtoOrBuilder com.google.ortools.sat.CumulativeConstraintProtoOrBuilder.getCapacityOrBuilder ( )

.operations_research.sat.LinearExpressionProto capacity = 1;

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

◆ getDemands()

com.google.ortools.sat.LinearExpressionProto com.google.ortools.sat.CumulativeConstraintProtoOrBuilder.getDemands ( int index)
Same size as intervals.

repeated .operations_research.sat.LinearExpressionProto demands = 3;

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

◆ getDemandsCount()

int com.google.ortools.sat.CumulativeConstraintProtoOrBuilder.getDemandsCount ( )
Same size as intervals.

repeated .operations_research.sat.LinearExpressionProto demands = 3;

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

◆ getDemandsList()

java.util.List< com.google.ortools.sat.LinearExpressionProto > com.google.ortools.sat.CumulativeConstraintProtoOrBuilder.getDemandsList ( )
Same size as intervals.

repeated .operations_research.sat.LinearExpressionProto demands = 3;

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

◆ getDemandsOrBuilder()

com.google.ortools.sat.LinearExpressionProtoOrBuilder com.google.ortools.sat.CumulativeConstraintProtoOrBuilder.getDemandsOrBuilder ( int index)
Same size as intervals.

repeated .operations_research.sat.LinearExpressionProto demands = 3;

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

◆ getDemandsOrBuilderList()

java.util.List<? extends com.google.ortools.sat.LinearExpressionProtoOrBuilder > com.google.ortools.sat.CumulativeConstraintProtoOrBuilder.getDemandsOrBuilderList ( )
Same size as intervals.

repeated .operations_research.sat.LinearExpressionProto demands = 3;

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

◆ getIntervals()

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

repeated int32 intervals = 2;

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

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

◆ getIntervalsCount()

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

repeated int32 intervals = 2;

Returns
The count of intervals.

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

◆ getIntervalsList()

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

repeated int32 intervals = 2;

Returns
A list containing the intervals.

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

◆ hasCapacity()

boolean com.google.ortools.sat.CumulativeConstraintProtoOrBuilder.hasCapacity ( )

.operations_research.sat.LinearExpressionProto capacity = 1;

Returns
Whether the capacity field is set.

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


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