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:
  • Constructor Details

    • 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 Details

    • 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.