![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
The negation of a boolean variable. This class should not be used directly, Literal must be used instead.
Definition at line 20 of file NotBoolVar.java.
Public Member Functions | |
| NotBoolVar (BoolVar boolVar) | |
| int | getIndex () |
| Literal | not () |
| LinearExpr | build () |
| LinearArgument interface. | |
| String | toString () |
| NotBoolVar (BoolVar boolVar) | |
| int | getIndex () |
| Literal | not () |
| LinearExpr | build () |
| LinearArgument interface. | |
| String | toString () |
| com.google.ortools.sat.NotBoolVar.NotBoolVar | ( | BoolVar | boolVar | ) |
Definition at line 21 of file NotBoolVar.java.
| com.google.ortools.sat.NotBoolVar.NotBoolVar | ( | BoolVar | boolVar | ) |
Definition at line 21 of file NotBoolVar.java.
| LinearExpr com.google.ortools.sat.NotBoolVar.build | ( | ) |
LinearArgument interface.
Implements com.google.ortools.sat.LinearArgument.
Definition at line 39 of file NotBoolVar.java.
| LinearExpr com.google.ortools.sat.NotBoolVar.build | ( | ) |
LinearArgument interface.
Implements com.google.ortools.sat.LinearArgument.
Definition at line 39 of file NotBoolVar.java.
| int com.google.ortools.sat.NotBoolVar.getIndex | ( | ) |
returns the index in the literal in the underlying CpModelProto.
Implements com.google.ortools.sat.Literal.
Definition at line 27 of file NotBoolVar.java.
| int com.google.ortools.sat.NotBoolVar.getIndex | ( | ) |
returns the index in the literal in the underlying CpModelProto.
Implements com.google.ortools.sat.Literal.
Definition at line 27 of file NotBoolVar.java.
| Literal com.google.ortools.sat.NotBoolVar.not | ( | ) |
Returns the negation of this literal.
Implements com.google.ortools.sat.Literal.
Definition at line 33 of file NotBoolVar.java.
| Literal com.google.ortools.sat.NotBoolVar.not | ( | ) |
Returns the negation of this literal.
Implements com.google.ortools.sat.Literal.
Definition at line 33 of file NotBoolVar.java.
| String com.google.ortools.sat.NotBoolVar.toString | ( | ) |
Returns a short string describing this literal.
Definition at line 45 of file NotBoolVar.java.
| String com.google.ortools.sat.NotBoolVar.toString | ( | ) |
Returns a short string describing this literal.
Definition at line 45 of file NotBoolVar.java.