public class NodeSquareRoot extends NodeExprArit
Class for management of square root node. It's evaluated to a alpha-cuts family
Constructor and Description |
---|
NodeSquareRoot(NodeExprArit assert1)
Constructor.
|
NodeSquareRoot(NodeSquareRoot n)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
FuzzyAlphaCut |
Beval()
This method evaluates the square root node
|
Node |
clone()
This method clones a node from another square root node
|
void |
debug()
This method is for debug
|
java.lang.String |
output()
Returns the output of the node.
|
void |
set(NodeSquareRoot n)
This method sets a square root node to another one
|
changeChild, child, children, compatible, compatibleData, nChildren, replaceTerminals, set, type
public NodeSquareRoot(NodeExprArit assert1)
Constructor. Generates a new square root node with only one children
assert1
- The arithmetic expressionpublic NodeSquareRoot(NodeSquareRoot n)
Constructor. Generates a new square root node from another square root node
n
- The square root nodepublic void set(NodeSquareRoot n)
This method sets a square root node to another one
n
- The square root nodepublic Node clone()
This method clones a node from another square root node
clone
in class NodeExprArit
public FuzzyAlphaCut Beval()
This method evaluates the square root node
Beval
in class NodeExprArit