T
- feature input typepublic class IfConditionWithinRange<T extends FeatureInput> extends RangeCompareFromScalars<T>
Constructor and Description |
---|
IfConditionWithinRange() |
Modifier and Type | Method and Description |
---|---|
protected Feature<T> |
featureToCalcInputVal()
Which feature to calculate the input-value? The result is then passed to
RangeCompareBase.calculateForValue(double, org.anchoranalysis.feature.calculate.FeatureCalculationInput<T>) |
Feature<T> |
getFeatureCondition()
Calculates value for the condition - which is checked if it lies within a certain range
|
void |
setFeatureCondition(Feature<T> featureCondition)
Calculates value for the condition - which is checked if it lies within a certain range
|
protected double |
withinRangeValue(double valWithinRange,
FeatureCalculationInput<T> input)
What value to return if the value is inside the range
|
boundaryMax, boundaryMin, describeParameters, getMax, getMin, setMax, setMin
calculate, getAboveMaxValue, getBelowMinValue, setAboveMaxValue, setBelowMinValue
getItem, inputType, setItem
assignTo, beforeCalc, calculateCheckInitialized, castAs, createListChildFeatures, describeBean, descriptionLong, duplicateChangeName, getCustomName, getFriendlyName, onInitialization, setCustomName, toString
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized
checkMisconfigured, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise
protected Feature<T> featureToCalcInputVal()
RangeCompareBase
RangeCompareBase.calculateForValue(double, org.anchoranalysis.feature.calculate.FeatureCalculationInput<T>)
featureToCalcInputVal
in class RangeCompareBase<T extends FeatureInput>
protected double withinRangeValue(double valWithinRange, FeatureCalculationInput<T> input) throws FeatureCalculationException
RangeCompareBase
withinRangeValue
in class RangeCompareBase<T extends FeatureInput>
FeatureCalculationException
public Feature<T> getFeatureCondition()
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.