public abstract class FeatureResults extends Feature<FeatureInputResults>
ResultsVectorList
.
i.e. the result of the calculation of some other features.
This is useful for applying some aggregate statistics (min, max etc.) to the results of multiple features calculated together.
Constructor and Description |
---|
FeatureResults() |
Modifier and Type | Method and Description |
---|---|
double |
calculate(FeatureCalculationInput<FeatureInputResults> input)
Calculates a value for some input.
|
abstract double |
calculate(FeatureInputResults input)
Calculates the feature-result given a
FeatureInputResults . |
Class<? extends FeatureInput> |
inputType()
The class corresponding to feature input-type.
|
assignTo, beforeCalc, calculateCheckInitialized, castAs, createListChildFeatures, describeBean, describeParameters, descriptionLong, duplicateChangeName, getCustomName, getFriendlyName, onInitialization, setCustomName, toString
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized
checkMisconfigured, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise
public double calculate(FeatureCalculationInput<FeatureInputResults> input) throws FeatureCalculationException
Feature
calculate
in class Feature<FeatureInputResults>
input
- the input to the calculation.FeatureCalculationException
- if the calculation cannot successfully complete.public abstract double calculate(FeatureInputResults input) throws FeatureCalculationException
FeatureInputResults
.input
- the input.FeatureCalculationException
- if the result cannot be successfully calculated.public Class<? extends FeatureInput> inputType()
Feature
i.e. corresponding to the T
template parameter.
inputType
in class Feature<FeatureInputResults>
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.