Uses of Class
org.anchoranalysis.feature.calculate.FeatureCalculationException
| Package | Description |
|---|---|
| org.anchoranalysis.feature.bean |
Beans pertaining to feature-calculation.
|
| org.anchoranalysis.feature.bean.operator |
Features that are sufficiently generic to work on any input-type.
|
| org.anchoranalysis.feature.bean.results |
Defines base class
FeatureResults together with
some implementations. |
| org.anchoranalysis.feature.calculate |
Sub-feature units of calculation that can be cached.
|
| org.anchoranalysis.feature.calculate.bound |
Interfaces like
FeatureCalculator but bound to
particular features. |
| org.anchoranalysis.feature.calculate.cache |
Classes to cache feature-results or parts of feature-results that occur repeatedly among features
or across calculations of the same feature.
|
| org.anchoranalysis.feature.calculate.cache.part |
Equivalent classes to
org.anchoranalysis.feature.calculate.part after having been
resolved against a cache. |
| org.anchoranalysis.feature.calculate.part |
A sub-part of the calculation of a feature, that can be cached, and reused by other features.
|
| org.anchoranalysis.feature.input |
Base classes providing inputs to feature calculations.
|
-
Uses of FeatureCalculationException in org.anchoranalysis.feature.bean
Methods in org.anchoranalysis.feature.bean that throw FeatureCalculationException Modifier and Type Method Description protected abstract doubleFeature. calculate(FeatureCalculationInput<T> input)Calculates a value for some input.doubleFeature. calculateCheckInitialized(FeatureCalculationInput<T> input)Calculates the result of a feature and throws an exception if the feature has not been initialized. -
Uses of FeatureCalculationException in org.anchoranalysis.feature.bean.operator
Methods in org.anchoranalysis.feature.bean.operator that throw FeatureCalculationException Modifier and Type Method Description doubleReference. calculate(FeatureCalculationInput<T> input)doubleSum. calculate(FeatureCalculationInput<T> input) -
Uses of FeatureCalculationException in org.anchoranalysis.feature.bean.results
Methods in org.anchoranalysis.feature.bean.results that throw FeatureCalculationException Modifier and Type Method Description doubleCount. calculate(FeatureInputResults input)doubleFeatureResults. calculate(FeatureCalculationInput<FeatureInputResults> input)abstract doubleFeatureResults. calculate(FeatureInputResults input)Calculates the feature-result given aFeatureInputResults.doubleFeatureResultsStatistic. calculate(FeatureInputResults input)protected abstract doubleFeatureResultsStatistic. statisticFromFeatureValue(cern.colt.list.DoubleArrayList values)Calculates the statistic for a given list of result-value.protected doubleMaximum. statisticFromFeatureValue(cern.colt.list.DoubleArrayList values)protected doubleMean. statisticFromFeatureValue(cern.colt.list.DoubleArrayList values)protected doubleMinimum. statisticFromFeatureValue(cern.colt.list.DoubleArrayList values) -
Uses of FeatureCalculationException in org.anchoranalysis.feature.calculate
Methods in org.anchoranalysis.feature.calculate that return FeatureCalculationException Modifier and Type Method Description FeatureCalculationExceptionNamedFeatureCalculateException. dropKey()Removes any feature-name from the exception.Methods in org.anchoranalysis.feature.calculate that throw FeatureCalculationException Modifier and Type Method Description doubleFeatureCalculationInput. calculate(Feature<T> feature)Calculates the result of a feature using this input.<S> SFeatureCalculationInput. calculate(ResolvedPart<S,T> calculation)Calculates a resolved Feature-calculation.<S> SFeatureCalculationInput. calculate(CalculationPart<S,T> calculation)Calculates a feature-calculation after resolving it against the main cache.doubleFeatureCalculator. calculate(Feature<T> feature, FeatureCalculationInput<T> input)Calculate the result of feature with a particular input. -
Uses of FeatureCalculationException in org.anchoranalysis.feature.calculate.bound
Methods in org.anchoranalysis.feature.calculate.bound that throw FeatureCalculationException Modifier and Type Method Description doubleFeatureCalculatorSingle. calculate(T input)Calculate the results of the feature with a particular input.doubleFeatureCalculatorSingleChangeInput. calculate(T input)doubleFeatureCalculatorSingleFromMulti. calculate(T input) -
Uses of FeatureCalculationException in org.anchoranalysis.feature.calculate.cache
Methods in org.anchoranalysis.feature.calculate.cache that throw FeatureCalculationException Modifier and Type Method Description <S extends FeatureInput>
doubleCalculateForChild. calculate(Feature<S> feature, CalculationPart<S,T> calculation, ChildCacheName childCacheName)Calculates a feature in a child-cache using a new input created from aCalculationPart.<S extends FeatureInput>
doubleCalculateForChild. calculate(Feature<S> feature, S input, ChildCacheName childCacheName)Calculates a feature in a child-cache.<S extends FeatureInput, U>
UCalculateForChild. calculate(ChildCacheName childCacheName, S input, Function<CalculationPartResolver<S>,ResolvedPart<U,S>> resolver)Calculates aCalculationPartin a child-cache.doubleFeatureSymbolCalculator. calculateFeatureByIdentifier(String resolvedIdentifier, FeatureCalculationInput<T> input)Searches for a feature that matches a particular identifier. -
Uses of FeatureCalculationException in org.anchoranalysis.feature.calculate.cache.part
Methods in org.anchoranalysis.feature.calculate.cache.part that throw FeatureCalculationException Modifier and Type Method Description SResolvedPart. getOrCalculate(T input)Executes the operation and returns a result, either by doing the calculation, or retrieving a cached-result from previously.SResolvedPartMap. getOrCalculate(T input, U key)Executes the operation and returns a result, either by doing the calculation, or retrieving a cached-result from a previous execution.Constructor parameters in org.anchoranalysis.feature.calculate.cache.part with type arguments of type FeatureCalculationException Constructor Description ResolvedPartMap(CalculationPartMap<S,T,U,FeatureCalculationException> map)Creates with a map. -
Uses of FeatureCalculationException in org.anchoranalysis.feature.calculate.part
Method parameters in org.anchoranalysis.feature.calculate.part with type arguments of type FeatureCalculationException Modifier and Type Method Description <S, U> ResolvedPartMap<S,T,U>CalculationPartResolver. search(CalculationPartMap<S,T,U,FeatureCalculationException> calculation)Searches for an equivalent calculation tocalculation.Methods in org.anchoranalysis.feature.calculate.part that throw FeatureCalculationException Modifier and Type Method Description protected abstract SCalculationPart. execute(T input)This performs the actual calculation when needed.SCalculationPart. getOrCalculate(T input)Executes the operation and returns a result, either by doing the calculation, or retrieving a cached-result from previously. -
Uses of FeatureCalculationException in org.anchoranalysis.feature.input
Methods in org.anchoranalysis.feature.input that throw FeatureCalculationException Modifier and Type Method Description abstract DimensionsFeatureInputDimensions. dimensions()The dimensions of the associated image.DimensionsFeatureInputEnergy. dimensions()DimensionsFeatureInputEnergy. dimensionsRequired()The image-dimensions associated with the energy-stack, or an exception if no energy-stack exists.default DictionaryFeatureInputDictionary. getDictionaryRequired()The associated dictionary, or an exception if it doesn't exist.EnergyStackFeatureInputEnergy. getEnergyStackRequired()The associated energy-stack or throws an exception if it isn't present.default ResolutionFeatureInputWithResolution. getResolutionRequired()The resolution of the associated image, or an exception if it is not available.