Class FeatureInputResults

Object
FeatureInputResults
All Implemented Interfaces:
FeatureInput

public final class FeatureInputResults extends Object implements FeatureInput
A FeatureInput with the stored results from a prior feature-calculation.
Author:
Owen Feehan
  • Constructor Details

    • FeatureInputResults

      public FeatureInputResults(ResultsVectorList results, FeatureNameMapToIndex featureNameIndex)
      Creates a new FeatureInputResults instance.
      Parameters:
      results - The results of a prior feature-calculation, corresponding to a list of features.
      featureNameIndex - A mapping from the name of the feature that produced a result, to its index position in results.
  • Method Details

    • getResults

      public ResultsVectorList getResults()
      The results of a prior feature-calculation, corresponding to a list of features.
    • getFeatureNameIndex

      public FeatureNameMapToIndex getFeatureNameIndex()
      A mapping from the name of the feature that produced a result, to its index position in results.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object