Uses of Class
org.anchoranalysis.feature.calculate.FeatureCalculationException
Packages that use FeatureCalculationException
Package
Description
Beans pertaining to feature-calculation.
Features that are sufficiently generic to work on any input-type.
Defines base class
FeatureResults together with
some implementations.Sub-feature units of calculation that can be cached.
Interfaces like
FeatureCalculator but bound to
particular features.Classes to cache feature-results or parts of feature-results that occur repeatedly among features
or across calculations of the same feature.
Equivalent classes to
org.anchoranalysis.feature.calculate.part after having been
resolved against a cache.A sub-part of the calculation of a feature, that can be cached, and reused by other features.
Base classes providing inputs to feature calculations.
-
Uses of FeatureCalculationException in org.anchoranalysis.feature.bean
Methods in org.anchoranalysis.feature.bean that throw FeatureCalculationExceptionModifier and TypeMethodDescriptionprotected 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 FeatureCalculationExceptionModifier and TypeMethodDescriptiondoubleReference.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 FeatureCalculationExceptionModifier and TypeMethodDescriptiondoubleCount.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 FeatureCalculationExceptionModifier and TypeMethodDescriptionNamedFeatureCalculateException.dropKey()Removes any feature-name from the exception.Methods in org.anchoranalysis.feature.calculate that throw FeatureCalculationExceptionModifier and TypeMethodDescriptiondoubleCalculates 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 -
Uses of FeatureCalculationException in org.anchoranalysis.feature.calculate.cache
Methods in org.anchoranalysis.feature.calculate.cache that throw FeatureCalculationExceptionModifier and TypeMethodDescription<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 FeatureCalculationExceptionModifier and TypeMethodDescriptionResolvedPart.getOrCalculate(T input) Executes the operation and returns a result, either by doing the calculation, or retrieving a cached-result from previously.ResolvedPartMap.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 FeatureCalculationExceptionModifierConstructorDescriptionCreates 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 FeatureCalculationExceptionModifier and TypeMethodDescription<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 FeatureCalculationExceptionModifier and TypeMethodDescriptionprotected abstract SThis performs the actual calculation when needed.CalculationPart.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 FeatureCalculationExceptionModifier and TypeMethodDescriptionabstract DimensionsFeatureInputDimensions.dimensions()The dimensions of the associated image.FeatureInputEnergy.dimensions()FeatureInputEnergy.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.FeatureInputEnergy.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.