public class NodeIs extends NodeAssert
Class for management a node witch is evaluated to a real number. Internal Node. It's evaluated to a real number
Constructor and Description |
---|
NodeIs(NodeIs n)
Generate a new node from another one
|
NodeIs(NodeVariable variable,
NodeLabel value)
Generate a new node witch two children
|
Modifier and Type | Method and Description |
---|---|
Node |
clone()
This method clone a node
|
double |
CrispEval()
This method calculates the level of membership of a value to a linguistic label
|
void |
debug()
This method is for debug
|
java.lang.String |
output()
Returns the output of the node.
|
void |
set(NodeIs n)
This method sets to a NodeIs the properties from another
|
changeChild, child, children, compatible, compatibleData, nChildren, replaceTerminals, set, type
public NodeIs(NodeVariable variable, NodeLabel value)
Generate a new node witch two children
variable
- Node of variable type (NodeVariable)value
- Node of label type (Node Label)public NodeIs(NodeIs n)
Generate a new node from another one
n
- The node (NodeIs)public void set(NodeIs n)
This method sets to a NodeIs the properties from another
n
- The Node (NodeIs)public Node clone()
This method clone a node
clone
in class NodeAssert
public double CrispEval()
This method calculates the level of membership of a value to a linguistic label
CrispEval
in class NodeAssert