public class NodeAnd extends NodeAssert
Class for management and nodes. Internal Node. It's evaluated to a real number
Constructor and Description |
---|
NodeAnd(NodeAnd n)
Constructor: Generate a new NodeAnd from a given one (NodeAnd)
|
NodeAnd(NodeAssert aserto1,
NodeAssert aserto2)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Node |
clone()
This method clone a NodeAnd
|
double |
CrispEval()
This method evaluate two nodes.
|
void |
debug()
This method is for debug
|
java.lang.String |
output()
Returns the output of the node.
|
void |
set(NodeAnd n)
This method asign to to a NodeAnd the properties of another
|
changeChild, child, children, compatible, compatibleData, nChildren, replaceTerminals, set, type
public NodeAnd(NodeAssert aserto1, NodeAssert aserto2)
Constructor. Generate a new NodeAnd with two children: asert1 and asert2
aserto1
- Children for the NodeAnd (NodeAssert)aserto2
- Children for the NodeAnd (NodeAssert)public NodeAnd(NodeAnd n)
Constructor: Generate a new NodeAnd from a given one (NodeAnd)
n
- The NodeAndpublic void set(NodeAnd n)
This method asign to to a NodeAnd the properties of another
n
- The NodeAdd (NodeAnd)public Node clone()
This method clone a NodeAnd
clone
in class NodeAssert
public double CrispEval()
This method evaluate two nodes.
CrispEval
in class NodeAssert