Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.sat.IntervalVar Class Reference

Public Member Functions

String toString ()
 
int getIndex ()
 
IntervalConstraintProto.Builder getBuilder ()
 
String getName ()
 
LinearExpr getStartExpr ()
 
LinearExpr getSizeExpr ()
 
LinearExpr getEndExpr ()
 
String toString ()
 
int getIndex ()
 
IntervalConstraintProto.Builder getBuilder ()
 
String getName ()
 
LinearExpr getStartExpr ()
 
LinearExpr getSizeExpr ()
 
LinearExpr getEndExpr ()
 

Detailed Description

An interval variable. This class must be constructed from the CpModel class.

Definition at line 22 of file IntervalVar.java.

Member Function Documentation

◆ getBuilder() [1/2]

IntervalConstraintProto.Builder com.google.ortools.sat.IntervalVar.getBuilder ( )

Returns the interval builder.

Definition at line 61 of file IntervalVar.java.

◆ getBuilder() [2/2]

IntervalConstraintProto.Builder com.google.ortools.sat.IntervalVar.getBuilder ( )

Returns the interval builder.

Definition at line 61 of file IntervalVar.java.

◆ getEndExpr() [1/2]

LinearExpr com.google.ortools.sat.IntervalVar.getEndExpr ( )

Returns the end expression.

Definition at line 81 of file IntervalVar.java.

◆ getEndExpr() [2/2]

LinearExpr com.google.ortools.sat.IntervalVar.getEndExpr ( )

Returns the end expression.

Definition at line 81 of file IntervalVar.java.

◆ getIndex() [1/2]

int com.google.ortools.sat.IntervalVar.getIndex ( )

Returns the index of the interval constraint in the model.

Definition at line 56 of file IntervalVar.java.

◆ getIndex() [2/2]

int com.google.ortools.sat.IntervalVar.getIndex ( )

Returns the index of the interval constraint in the model.

Definition at line 56 of file IntervalVar.java.

◆ getName() [1/2]

String com.google.ortools.sat.IntervalVar.getName ( )

Returns the name passed in the constructor.

Definition at line 66 of file IntervalVar.java.

◆ getName() [2/2]

String com.google.ortools.sat.IntervalVar.getName ( )

Returns the name passed in the constructor.

Definition at line 66 of file IntervalVar.java.

◆ getSizeExpr() [1/2]

LinearExpr com.google.ortools.sat.IntervalVar.getSizeExpr ( )

Returns the size expression.

Definition at line 76 of file IntervalVar.java.

◆ getSizeExpr() [2/2]

LinearExpr com.google.ortools.sat.IntervalVar.getSizeExpr ( )

Returns the size expression.

Definition at line 76 of file IntervalVar.java.

◆ getStartExpr() [1/2]

LinearExpr com.google.ortools.sat.IntervalVar.getStartExpr ( )

Returns the start expression.

Definition at line 71 of file IntervalVar.java.

◆ getStartExpr() [2/2]

LinearExpr com.google.ortools.sat.IntervalVar.getStartExpr ( )

Returns the start expression.

Definition at line 71 of file IntervalVar.java.

◆ toString() [1/2]

String com.google.ortools.sat.IntervalVar.toString ( )

Definition at line 51 of file IntervalVar.java.

◆ toString() [2/2]

String com.google.ortools.sat.IntervalVar.toString ( )

Definition at line 51 of file IntervalVar.java.


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