choco.cp.solver.constraints.reified.leaves.bool
Class FalseNode
java.lang.Object
choco.kernel.solver.constraints.reified.INode
choco.cp.solver.constraints.reified.leaves.bool.AbstractBoolNode
choco.cp.solver.constraints.reified.leaves.bool.FalseNode
- All Implemented Interfaces:
- IPretty, BoolNode
public final class FalseNode
- extends AbstractBoolNode
Methods inherited from class choco.kernel.solver.constraints.reified.INode |
computeLinearExpr, getModelScope, getNbSubTrees, getScope, getSubtree, getType, hasOnlyVariablesLeaves, isAConstant, isALinearTerm, isAVariable, isBoolean, isCsteEqualTo, isDecompositionPossible, setIndexes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FalseNode
public FalseNode()
checkTuple
public boolean checkTuple(int[] tuple)
isReified
public boolean isReified()
- Description copied from class:
INode
- check if this expression is reified (involve or, and, not, ...)
- Overrides:
isReified
in class INode
- Returns:
pretty
public String pretty()
- Description copied from interface:
IPretty
- pretty printing of the object. This String is not constant and may depend on the context.
- Returns:
- a readable string representation of the object
countNbVar
public int countNbVar()
- Overrides:
countNbVar
in class INode
extractConstraint
public SConstraint extractConstraint(Solver s)
- Extracts the sub constraint without reifying it !
- Specified by:
extractConstraint
in interface BoolNode
- Specified by:
extractConstraint
in class AbstractBoolNode
- Parameters:
s
-
- Returns:
Copyright © 2012. All Rights Reserved.