Class ReduceFirstAndSecond

Object
AnchorBean<FeatureListProvider<FeatureInputPairObjects>>
InitializableBean<FeatureListProvider<FeatureInputPairObjects>, FeatureRelatedInitialization>
FeatureRelatedBean<FeatureListProvider<FeatureInputPairObjects>>
FeatureProviderBean<FeatureListProvider<FeatureInputPairObjects>, FeatureList<FeatureInputPairObjects>>
FeatureListProvider<FeatureInputPairObjects>
FeatureListProviderAggregatePair
ReduceFirstAndSecond
All Implemented Interfaces:
Provider<FeatureList<FeatureInputPairObjects>>

public class ReduceFirstAndSecond extends FeatureListProviderAggregatePair
Calculates the aggregate of a feature applied to both the first and second objects in a FeatureInputPairObjects.
Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Feature<FeatureInputPairObjects>
    createAggregateFeature(Feature<FeatureInputPairObjects> first, Feature<FeatureInputPairObjects> second, Feature<FeatureInputPairObjects> merged)
    Creates an aggregate feature from individual features for first, second, and merged objects.

    Methods inherited from class org.anchoranalysis.plugin.image.feature.bean.list.pair.FeatureListProviderAggregatePair

    createReducedFeature, get, getItem, getPrefix, getReduce, setItem, setPrefix, setReduce

    Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean

    getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization

    Methods inherited from class org.anchoranalysis.bean.AnchorBean

    checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ReduceFirstAndSecond

      public ReduceFirstAndSecond()
  • Method Details

    • createAggregateFeature

      protected Feature<FeatureInputPairObjects> createAggregateFeature(Feature<FeatureInputPairObjects> first, Feature<FeatureInputPairObjects> second, Feature<FeatureInputPairObjects> merged)
      Description copied from class: FeatureListProviderAggregatePair
      Creates an aggregate feature from individual features for first, second, and merged objects.
      Specified by:
      createAggregateFeature in class FeatureListProviderAggregatePair
      Parameters:
      first - feature for the first object
      second - feature for the second object
      merged - feature for the merged object
      Returns:
      an aggregate feature combining the three input features