Class TreeSymptomVisitor
- java.lang.Object
-
- com.aquima.interactions.dtree.impl.TreeSymptomVisitor
-
- All Implemented Interfaces:
ITreeSymptomVisitor
public class TreeSymptomVisitor extends Object implements ITreeSymptomVisitor
This class is internally used to iterate over the symptoms belonging to a decision tree.- Since:
- 5.1
- Author:
- F. van der Meer
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TreeSymptomVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(IDecisionTreeSymptomDS symptom)
This method should be invoked for each symptom that needs to be added to the decision tree.protected Symptom[]
getSymptoms()
-
-
-
Method Detail
-
accept
public void accept(IDecisionTreeSymptomDS symptom) throws InitializationException
Description copied from interface:ITreeSymptomVisitor
This method should be invoked for each symptom that needs to be added to the decision tree.- Specified by:
accept
in interfaceITreeSymptomVisitor
- Parameters:
symptom
- The symptom that should be added.- Throws:
InitializationException
- This exception is thrown when the symptom is deemed invalid.
-
getSymptoms
protected Symptom[] getSymptoms()
-
-