Java Reference

Java Reference

Detailed Description

An interval variable.

This class must be constructed from the CpModel class.

Definition at line 22 of file IntervalVar.java.

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 IntervalVar.java.

◆ getEndExpr()

LinearExpr getEndExpr ( )

Returns the end expression.

Definition at line 81 of file IntervalVar.java.

◆ getIndex()

int getIndex ( )

Returns the index of the interval constraint in the model.

Definition at line 56 of file IntervalVar.java.

◆ getName()

String getName ( )

Returns the name passed in the constructor.

Definition at line 66 of file IntervalVar.java.

◆ getSizeExpr()

LinearExpr getSizeExpr ( )

Returns the size expression.

Definition at line 76 of file IntervalVar.java.

◆ getStartExpr()

LinearExpr getStartExpr ( )

Returns the start expression.

Definition at line 71 of file IntervalVar.java.

◆ toString()

String toString ( )

Definition at line 51 of file IntervalVar.java.


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