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()
LinearArgument
build
in interface LinearArgument
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2025. All rights reserved.