T
- feature-input-typepublic class CompareWithRange<T extends FeatureInput> extends RangeCompareFromScalars<T>
Constructor and Description |
---|
CompareWithRange() |
Modifier and Type | Method and Description |
---|---|
String |
describeParameters()
A human-readable description of the parameterization of the bean.
|
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>) |
double |
getWithinValue()
Constant to return if value lies within the range
|
void |
setWithinValue(double withinValue)
Constant to return if value lies within the range
|
protected double |
withinRangeValue(double valWithinRange,
FeatureCalculationInput<T> input)
What value to return if the value is inside the range
|
boundaryMax, boundaryMin, 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 String describeParameters()
Feature
describeParameters
in class RangeCompareFromScalars<T extends FeatureInput>
public double getWithinValue()
public void setWithinValue(double withinValue)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.