Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
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 () |
Interface to describe a boolean variable or its negation.
Definition at line 17 of file Literal.java.
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.