Class FeatureObjectCollection
A base class for a feature that accepts a
ObjectCollection as input.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleabstract doubleCalculates the feature-value for a givenFeatureInputObjectCollection.Class<? extends FeatureInput> Methods inherited from class org.anchoranalysis.feature.bean.Feature
assignTo, beforeCalc, calculateCheckInitialized, castAs, createListChildFeatures, describeBean, describeParameters, descriptionLong, duplicateChangeName, getCustomName, getFriendlyName, onInitialization, setCustomName, toStringMethods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitializedMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise
-
Constructor Details
-
FeatureObjectCollection
public FeatureObjectCollection()
-
-
Method Details
-
calculate
public double calculate(FeatureCalculationInput<FeatureInputObjectCollection> input) throws FeatureCalculationException - Specified by:
calculatein classFeature<FeatureInputObjectCollection>- Throws:
FeatureCalculationException
-
calculate
public abstract double calculate(FeatureInputObjectCollection input) throws FeatureCalculationException Calculates the feature-value for a givenFeatureInputObjectCollection.- Parameters:
input- the input..- Returns:
- the calculated feature-value.
- Throws:
FeatureCalculationException- if the feature-value cannot be calculated.
-
inputType
- Specified by:
inputTypein classFeature<FeatureInputObjectCollection>
-