public final class NotBoolVar extends java.lang.Object implements Literal
| Constructor and Description |
|---|
NotBoolVar(BoolVar boolVar) |
| Modifier and Type | Method and Description |
|---|---|
LinearExpr |
build()
Builds a linear expression.
|
int |
getIndex()
returns the index in the literal in the underlying CpModelProto.
|
Literal |
not()
Returns the negation of this literal.
|
java.lang.String |
toString()
Returns a short string describing this literal.
|
public NotBoolVar(BoolVar boolVar)
public int getIndex()
public Literal not()
public LinearExpr build()
LinearArgumentbuild in interface LinearArgumentpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2024. All rights reserved.