public class NodeExprHold extends Node
Class for management of nodes that are evaluated to a vector of fuzzy numbers. Internal Node (usually root node). It's evaluated to vector of fuzzy numbers
Constructor and Description |
---|
NodeExprHold(NodeExprArit[] br)
Constructor.
|
NodeExprHold(NodeExprHold br)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
FuzzyAlphaCut[] |
Beval()
This method evaluate the alphacut of the nodes
|
Node |
clone()
This method clone a node
|
protected boolean |
compatibleData(Node n)
This method evaluate if two nodes are the same type
|
void |
debug()
This method is for debug
|
java.lang.String |
output()
Returns the output of the node.
|
void |
set(NodeExprHold br)
This method sets the node properties to another one
|
changeChild, child, children, compatible, nChildren, replaceTerminals, set, type
public NodeExprHold(NodeExprArit[] br)
Constructor. Generates a new node witch children are the vector of of fuzzy numbers
br
- A vector of fuzzy numbers (NodeExprArit)public NodeExprHold(NodeExprHold br)
Constructor. Generate a new node from another one
br
- The nodepublic void set(NodeExprHold br)
This method sets the node properties to another one
br
- The node to be assignedprotected boolean compatibleData(Node n)
This method evaluate if two nodes are the same type
compatibleData
in class Node
n
- The node to be compared (Node)public Node clone()
This method clone a node
public FuzzyAlphaCut[] Beval()
This method evaluate the alphacut of the nodes