choco.cp.solver.constraints.reified.leaves.arithm
Class DoubleNode
java.lang.Object
choco.kernel.solver.constraints.reified.INode
choco.cp.solver.constraints.reified.leaves.arithm.DoubleNode
- All Implemented Interfaces:
- IPretty, ArithmNode
public class DoubleNode
- extends INode
- implements ArithmNode
- Since:
- 14 sept. 2010
- Author:
- Charles Prud'homme
Method Summary |
int |
eval(int[] tuple)
|
String |
pretty()
pretty printing of the object. |
Methods inherited from class choco.kernel.solver.constraints.reified.INode |
computeLinearExpr, countNbVar, extractResult, getModelScope, getNbSubTrees, getScope, getSubtree, getType, hasOnlyVariablesLeaves, isAConstant, isALinearTerm, isAVariable, isBoolean, isCsteEqualTo, isDecompositionPossible, isReified, setIndexes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DoubleNode
public DoubleNode(INode[] subt)
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.
- Specified by:
pretty
in interface IPretty
- Returns:
- a readable string representation of the object
eval
public int eval(int[] tuple)
- Specified by:
eval
in interface ArithmNode
Copyright © 2012. All Rights Reserved.