Package com.aquima.interactions.dtree
Class ValueSolution
- java.lang.Object
-
- com.aquima.interactions.dtree.ValueSolution
-
- All Implemented Interfaces:
Serializable
public final class ValueSolution extends Object implements Serializable
This class holds the result information of an attribute node.- Since:
- 5.0
- Author:
- F. van der Meer
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValueSolution(ValueReference reference, IValue attributeValue)
Constructs the value solution with the required arguments.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueReference
getReference()
This method returns the reference to the value that was found as solution.IValue
getValue()
This method returns the value that provided by the decision tree as solution for the attribute.
-
-
-
Constructor Detail
-
ValueSolution
public ValueSolution(ValueReference reference, IValue attributeValue)
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 Detail
-
getReference
public ValueReference 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
public IValue 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.
-
-