Class Count
The sum of the results from a particular feature.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
calculate
(FeatureInputResults input) Calculates the feature-result given aFeatureInputResults
.Methods inherited from class org.anchoranalysis.feature.bean.results.FeatureResults
calculate, inputType
Methods inherited from class org.anchoranalysis.feature.bean.Feature
assignTo, beforeCalc, calculateCheckInitialized, castAs, createListChildFeatures, describeBean, describeParameters, descriptionLong, duplicateChangeName, getCustomName, getFriendlyName, onInitialization, setCustomName, toString
Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise
-
Constructor Details
-
Count
public Count()
-
-
Method Details
-
calculate
Description copied from class:FeatureResults
Calculates the feature-result given aFeatureInputResults
.- Specified by:
calculate
in classFeatureResults
- Parameters:
input
- the input.- Returns:
- the calculated value.
- Throws:
FeatureCalculationException
- if the result cannot be successfully calculated.
-