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