public class NodeLog extends NodeExprArit
Class for management log nodes. It's evaluated to alfa-cuts family
Constructor and Description |
---|
NodeLog(NodeExprArit assert1)
Constructor.
|
NodeLog(NodeLog n)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
FuzzyAlphaCut |
Beval()
This method evaluate two nodes with the fuzzy alpha cut log
|
Node |
clone()
This method clone a log node
|
void |
debug()
This method is for debug
|
java.lang.String |
output()
Returns the output of the node.
|
void |
set(NodeLog n)
This method assign a log node to another one
|
changeChild, child, children, compatible, compatibleData, nChildren, replaceTerminals, set, type
public NodeLog(NodeExprArit assert1)
Constructor. Generate a new log node con an only one child
assert1
- The aritmetic expresionpublic NodeLog(NodeLog n)
Constructor. Generate a new log node from another one
n
- The log nodepublic void set(NodeLog n)
This method assign a log node to another one
n
- The log node to be assignedpublic Node clone()
This method clone a log node
clone
in class NodeExprArit
public FuzzyAlphaCut Beval()
This method evaluate two nodes with the fuzzy alpha cut log
Beval
in class NodeExprArit