Class DecisionTreeVisitor
- java.lang.Object
-
- com.aquima.interactions.dtree.impl.DecisionTreeVisitor
-
- All Implemented Interfaces:
IDecisionTreeVisitor
public class DecisionTreeVisitor extends Object implements IDecisionTreeVisitor
Decision tree visitor used during the initialization of the decision tree engine.- Since:
- 5.0
- Author:
- F. van der Meer
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DecisionTreeVisitor(InitializationLookup lookup)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDecisionTree(IDecisionTreeDS tree)
This method should be invoked to add a single decision tree to the tree engine.protected IDecisionTree[]
getTrees()
-
-
-
Constructor Detail
-
DecisionTreeVisitor
protected DecisionTreeVisitor(InitializationLookup lookup)
-
-
Method Detail
-
addDecisionTree
public void addDecisionTree(IDecisionTreeDS tree) throws InitializationException
Description copied from interface:IDecisionTreeVisitor
This method should be invoked to add a single decision tree to the tree engine.- Specified by:
addDecisionTree
in interfaceIDecisionTreeVisitor
- Parameters:
tree
- Data-source that can provide the information of a single decision tree.- Throws:
InitializationException
- This exception is thrown when the decision tree could not be initialized.
-
getTrees
protected IDecisionTree[] getTrees()
-
-