public class MockFeatureWithCalculation extends FeatureGeneric<FeatureInput>
Warning! Method calls are counted via ugly static variable implementation.
Constructor and Description |
---|
MockFeatureWithCalculation() |
Modifier and Type | Method and Description |
---|---|
protected double |
calculate(FeatureCalculationInput<FeatureInput> input)
Calculates a value for some input.
|
inputType
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
protected double calculate(FeatureCalculationInput<FeatureInput> input) throws FeatureCalculationException
Feature
calculate
in class Feature<FeatureInput>
input
- the input to the calculation.FeatureCalculationException
- if the calculation cannot successfully complete.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.