Java Reference

Java Reference

Detailed Description

An interval variable.

This class must be constructed from the CpModel class.

Definition at line 21 of file java/com/google/ortools/sat/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...
 

Member Function Documentation

◆ getBuilder()

IntervalConstraintProto.Builder getBuilder ( )

Returns the interval builder.

Definition at line 58 of file java/com/google/ortools/sat/IntervalVar.java.

◆ getIndex()

int getIndex ( )

Returns the index of the interval constraint in the model.

Definition at line 53 of file java/com/google/ortools/sat/IntervalVar.java.

◆ getName()

String getName ( )

Returns the name passed in the constructor.

Definition at line 63 of file java/com/google/ortools/sat/IntervalVar.java.

◆ toString()

String toString ( )

Definition at line 48 of file java/com/google/ortools/sat/IntervalVar.java.


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