Java Reference

Java Reference

Detailed Description

An interval variable.

This class must be constructed from the CpModel class.

Definition at line 22 of file

Public Member Functions

String toString ()
int getIndex ()
 Returns the index of the interval constraint in the model. More...
IntervalConstraintProto.Builder getBuilder ()
 Returns the interval builder. More...
String getName ()
 Returns the name passed in the constructor. More...
LinearExpr getStartExpr ()
 Returns the start expression. More...
LinearExpr getSizeExpr ()
 Returns the size expression. More...
LinearExpr getEndExpr ()
 Returns the end expression. More...

Member Function Documentation

◆ getBuilder()

IntervalConstraintProto.Builder getBuilder ( )

Returns the interval builder.

Definition at line 61 of file

◆ getEndExpr()

LinearExpr getEndExpr ( )

Returns the end expression.

Definition at line 81 of file

◆ getIndex()

int getIndex ( )

Returns the index of the interval constraint in the model.

Definition at line 56 of file

◆ getName()

String getName ( )

Returns the name passed in the constructor.

Definition at line 66 of file

◆ getSizeExpr()

LinearExpr getSizeExpr ( )

Returns the size expression.

Definition at line 76 of file

◆ getStartExpr()

LinearExpr getStartExpr ( )

Returns the start expression.

Definition at line 71 of file

◆ toString()

String toString ( )

Definition at line 51 of file

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