Package com.aquima.interactions.dtree
Class ValueSolution
java.lang.Object
com.aquima.interactions.dtree.ValueSolution
- All Implemented Interfaces:
Serializable
This class holds the result information of an attribute node.
- Since:
- 5.0
- Author:
- F. van der Meer
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionValueSolution
(ValueReference reference, IValue attributeValue) Constructs the value solution with the required arguments. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the reference to the value that was found as solution.getValue()
This method returns the value that provided by the decision tree as solution for the attribute.
-
Constructor Details
-
ValueSolution
Constructs the value solution with the required arguments.- Parameters:
reference
- Reference to the attribute value that was found as solution.attributeValue
- The value that provided by the decision tree as solution for the attribute.
-
-
Method Details
-
getReference
This method returns the reference to the value that was found as solution.- Returns:
- Reference to the attribute value that was found as solution.
-
getValue
This method returns the value that provided by the decision tree as solution for the attribute.- Returns:
- The value that provided by the decision tree as solution for the attribute.
-