Java Reference

Java Reference

CumulativeConstraintProtoOrBuilder

Detailed Description

Definition at line 6 of file CumulativeConstraintProtoOrBuilder.java.

Public Member Functions

int getCapacity ()
 int32 capacity = 1; More...
 
java.util.List< java.lang.Integer > getIntervalsList ()
 repeated int32 intervals = 2; More...
 
int getIntervalsCount ()
 repeated int32 intervals = 2; More...
 
int getIntervals (int index)
 repeated int32 intervals = 2; More...
 
java.util.List< java.lang.Integer > getDemandsList ()
 
int getDemandsCount ()
 
int getDemands (int index)
 

Member Function Documentation

◆ getCapacity()

int getCapacity ( )

int32 capacity = 1;

Returns
The capacity.

Implemented in CumulativeConstraintProto.Builder, and CumulativeConstraintProto.

◆ getDemands()

int getDemands ( int  index)
Same size as intervals.

repeated int32 demands = 3;

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

Implemented in CumulativeConstraintProto.Builder, and CumulativeConstraintProto.

◆ getDemandsCount()

int getDemandsCount ( )
Same size as intervals.

repeated int32 demands = 3;

Returns
The count of demands.

Implemented in CumulativeConstraintProto.Builder, and CumulativeConstraintProto.

◆ getDemandsList()

java.util.List<java.lang.Integer> getDemandsList ( )
Same size as intervals.

repeated int32 demands = 3;

Returns
A list containing the demands.

Implemented in CumulativeConstraintProto.Builder, and CumulativeConstraintProto.

◆ getIntervals()

int getIntervals ( int  index)

repeated int32 intervals = 2;

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

Implemented in CumulativeConstraintProto.Builder, and CumulativeConstraintProto.

◆ getIntervalsCount()

int getIntervalsCount ( )

repeated int32 intervals = 2;

Returns
The count of intervals.

Implemented in CumulativeConstraintProto.Builder, and CumulativeConstraintProto.

◆ getIntervalsList()

java.util.List<java.lang.Integer> getIntervalsList ( )

repeated int32 intervals = 2;

Returns
A list containing the intervals.

Implemented in CumulativeConstraintProto.Builder, and CumulativeConstraintProto.


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