Class TreeEngineTemplate
java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.tree.TreeEngineTemplate
Template that can be used to initialize a tree engine.
- Since:
- 6.0
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsConstructorDescriptionTreeEngineTemplate
(com.aquima.interactions.foundation.report.IInitializationReport report) Constructs the template with the required parameters. -
Method Summary
Modifier and TypeMethodDescriptionThis method may be used to add a tree definition.This method may be used to add a tree definition.protected List
<DecisionTreeTemplate> protected DecisionTreeTemplate
getTreeByName
(String name) com.aquima.interactions.dtree.ds.ITreeEngineDS
This method converts the template to a data source that can be used to initialize a tree engine.Methods inherited from class com.aquima.interactions.test.templates.AbstractReportingTemplate
getInitializationReport
-
Constructor Details
-
TreeEngineTemplate
public TreeEngineTemplate(com.aquima.interactions.foundation.report.IInitializationReport report) Constructs the template with the required parameters.- Parameters:
report
- the report to add errors and warnings during initialization.
-
-
Method Details
-
addTree
This method may be used to add a tree definition.- Parameters:
name
- The name of the tree that should be added.- Returns:
- Decision tree template representing the added tree.
-
addTree
This method may be used to add a tree definition.- Parameters:
name
- The name of the tree that should be added.- Returns:
- Decision tree template representing the added tree.
-
getTreeByName
-
getDecisionTrees
-
toDataSource
public com.aquima.interactions.dtree.ds.ITreeEngineDS toDataSource()This method converts the template to a data source that can be used to initialize a tree engine.- Returns:
- a data source that can be used to initialize a tree engine.
-