Class FeatureBinary<T extends FeatureInput>

Type Parameters:
T - feature input-type of all features.
Direct Known Subclasses:
NormalizedRange, Range

public abstract class FeatureBinary<T extends FeatureInput> extends Feature<T>
A base class for a Feature that is a binary-function of the results from two other features.
Author:
Owen Feehan
  • Constructor Details

    • FeatureBinary

      public FeatureBinary()
  • Method Details

    • inputType

      public Class<? extends FeatureInput> inputType()
      Description copied from class: Feature
      The class corresponding to feature input-type.

      i.e. corresponding to the T template parameter.

      Specified by:
      inputType in class Feature<T extends FeatureInput>
      Returns:
      the class.
    • getItem1

      public Feature<T> getItem1()
      Provides the first value for the binary-function.
    • setItem1

      public void setItem1(Feature<T> item1)
      Provides the first value for the binary-function.
    • getItem2

      public Feature<T> getItem2()
      Provides the second value for the binary-function.
    • setItem2

      public void setItem2(Feature<T> item2)
      Provides the second value for the binary-function.