![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
Interface to describe a boolean variable or its negation.
Definition at line 17 of file Literal.java.
Public Member Functions | |
| int | getIndex () |
| Literal | not () |
| int | getIndex () |
| Literal | not () |
| Public Member Functions inherited from com.google.ortools.sat.LinearArgument | |
| LinearExpr | build () |
| LinearExpr | build () |
| int com.google.ortools.sat.Literal.getIndex | ( | ) |
Implemented in com.google.ortools.sat.NotBoolVar, and com.google.ortools.sat.NotBoolVar.
| int com.google.ortools.sat.Literal.getIndex | ( | ) |
Implemented in com.google.ortools.sat.NotBoolVar, and com.google.ortools.sat.NotBoolVar.
| Literal com.google.ortools.sat.Literal.not | ( | ) |
Returns the Boolean negation of the current literal.
Implemented in com.google.ortools.sat.BoolVar, com.google.ortools.sat.BoolVar, com.google.ortools.sat.NotBoolVar, and com.google.ortools.sat.NotBoolVar.
| Literal com.google.ortools.sat.Literal.not | ( | ) |
Returns the Boolean negation of the current literal.
Implemented in com.google.ortools.sat.BoolVar, com.google.ortools.sat.BoolVar, com.google.ortools.sat.NotBoolVar, and com.google.ortools.sat.NotBoolVar.