Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
String | getName () |
int | getIndex () |
IntegerVariableProto.Builder | getBuilder () |
LinearExpr | build () |
LinearArgument interface. | |
String | displayBounds () |
Domain | getDomain () |
String | toString () |
String | getName () |
int | getIndex () |
IntegerVariableProto.Builder | getBuilder () |
LinearExpr | build () |
LinearArgument interface. | |
String | displayBounds () |
Domain | getDomain () |
String | toString () |
Public Member Functions inherited from com.google.ortools.sat.LinearArgument |
Protected Attributes | |
final CpModelProto.Builder | modelBuilder |
final int | variableIndex |
final IntegerVariableProto.Builder | varBuilder |
An integer variable.
Definition at line 21 of file IntVar.java.
LinearExpr com.google.ortools.sat.IntVar.build | ( | ) |
LinearArgument interface.
Implements com.google.ortools.sat.LinearArgument.
Definition at line 55 of file IntVar.java.
LinearExpr com.google.ortools.sat.IntVar.build | ( | ) |
LinearArgument interface.
Implements com.google.ortools.sat.LinearArgument.
Definition at line 55 of file IntVar.java.
String com.google.ortools.sat.IntVar.displayBounds | ( | ) |
Returns the domain as a string without the enclosing [].
Definition at line 60 of file IntVar.java.
String com.google.ortools.sat.IntVar.displayBounds | ( | ) |
Returns the domain as a string without the enclosing [].
Definition at line 60 of file IntVar.java.
IntegerVariableProto.Builder com.google.ortools.sat.IntVar.getBuilder | ( | ) |
Returns the variable protobuf builder.
Definition at line 49 of file IntVar.java.
IntegerVariableProto.Builder com.google.ortools.sat.IntVar.getBuilder | ( | ) |
Returns the variable protobuf builder.
Definition at line 49 of file IntVar.java.
Domain com.google.ortools.sat.IntVar.getDomain | ( | ) |
Returns the domain of the variable.
Definition at line 76 of file IntVar.java.
Domain com.google.ortools.sat.IntVar.getDomain | ( | ) |
Returns the domain of the variable.
Definition at line 76 of file IntVar.java.
int com.google.ortools.sat.IntVar.getIndex | ( | ) |
Returns the index of the variable in the underlying CpModelProto.
Definition at line 44 of file IntVar.java.
int com.google.ortools.sat.IntVar.getIndex | ( | ) |
Returns the index of the variable in the underlying CpModelProto.
Definition at line 44 of file IntVar.java.
String com.google.ortools.sat.IntVar.getName | ( | ) |
Returns the name of the variable given upon creation.
Definition at line 39 of file IntVar.java.
String com.google.ortools.sat.IntVar.getName | ( | ) |
Returns the name of the variable given upon creation.
Definition at line 39 of file IntVar.java.
String com.google.ortools.sat.IntVar.toString | ( | ) |
Reimplemented in com.google.ortools.sat.BoolVar, and com.google.ortools.sat.BoolVar.
Definition at line 81 of file IntVar.java.
String com.google.ortools.sat.IntVar.toString | ( | ) |
Reimplemented in com.google.ortools.sat.BoolVar, and com.google.ortools.sat.BoolVar.
Definition at line 81 of file IntVar.java.
|
protected |
Definition at line 93 of file IntVar.java.
|
protected |
Definition at line 95 of file IntVar.java.
|
protected |
Definition at line 94 of file IntVar.java.