Class TreeNodeVisitor
- java.lang.Object
-
- com.aquima.interactions.dtree.impl.TreeNodeVisitor
-
- All Implemented Interfaces:
ITreeNodeVisitor
public class TreeNodeVisitor extends Object implements ITreeNodeVisitor
Tree node visitor used to collect nodes.- Since:
- 5.0
- Author:
- F. van der Meer
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TreeNodeVisitor(InitializationLookup lookup, IDecisionTree decisionTree, AbstractNode current)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(IDecisionTreeNodeDS node)
This method should be invoked to add a single node.protected AbstractNode[]
getConditions()
-
-
-
Constructor Detail
-
TreeNodeVisitor
protected TreeNodeVisitor(InitializationLookup lookup, IDecisionTree decisionTree, AbstractNode current)
-
-
Method Detail
-
accept
public void accept(IDecisionTreeNodeDS node) throws InitializationException
Description copied from interface:ITreeNodeVisitor
This method should be invoked to add a single node.- Specified by:
accept
in interfaceITreeNodeVisitor
- Parameters:
node
- Data-source providing the information of the node that should be added.- Throws:
InitializationException
- This exception is thrown when the node could not be initialized.
-
getConditions
protected AbstractNode[] getConditions()
-
-