choco.cp.solver.constraints.reified.leaves.bool
Class DistNeqNode

java.lang.Object
  extended by choco.kernel.solver.constraints.reified.INode
      extended by choco.cp.solver.constraints.reified.leaves.bool.AbstractBoolNode
          extended by choco.cp.solver.constraints.reified.leaves.bool.DistNeqNode
All Implemented Interfaces:
IPretty, BoolNode

public final class DistNeqNode
extends AbstractBoolNode


Field Summary
 
Fields inherited from class choco.kernel.solver.constraints.reified.INode
LOGGER, subtrees
 
Constructor Summary
DistNeqNode(INode[] subt)
           
 
Method Summary
 boolean checkTuple(int[] tuple)
           
 SConstraint extractConstraint(Solver s)
          Extracts the sub constraint without reifying it !
 boolean isDecompositionPossible()
          check if this node can be decomposed
 String pretty()
          pretty printing of the object.
 
Methods inherited from class choco.cp.solver.constraints.reified.leaves.bool.AbstractBoolNode
extractResult
 
Methods inherited from class choco.kernel.solver.constraints.reified.INode
computeLinearExpr, countNbVar, getModelScope, getNbSubTrees, getScope, getSubtree, getType, hasOnlyVariablesLeaves, isAConstant, isALinearTerm, isAVariable, isBoolean, isCsteEqualTo, isReified, setIndexes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistNeqNode

public DistNeqNode(INode[] subt)
Method Detail

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 - solver
Returns:
Sconstraint

checkTuple

public boolean checkTuple(int[] tuple)

isDecompositionPossible

public boolean isDecompositionPossible()
Description copied from class: INode
check if this node can be decomposed

Overrides:
isDecompositionPossible 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


Copyright © 2012. All Rights Reserved.