Uses of Interface
org.anchoranalysis.feature.session.replace.ReplaceStrategy
Packages that use ReplaceStrategy
Package
Description
A defined context in which one or more features are provided inputs and produce results.
Strategies on whether to reuse or invalidate a feature-input's cache.
A particular implementation of
FeatureCalculatorMulti
for feature-calculations based
upon pairs of image-objects.-
Uses of ReplaceStrategy in org.anchoranalysis.feature.session
Method parameters in org.anchoranalysis.feature.session with type arguments of type ReplaceStrategyModifier and TypeMethodDescriptionstatic <T extends FeatureInput>
FeatureCalculatorMulti<T> FeatureSession.with
(FeatureList<T> features, FeatureInitialization initialization, Optional<SharedFeatures> sharedFeatures, Logger logger, BoundReplaceStrategy<T, ? extends ReplaceStrategy<T>> replaceStrategy) Starts a feature-session for a list of features, with particular initialization, and areplaceStrategy
. -
Uses of ReplaceStrategy in org.anchoranalysis.feature.session.replace
Classes in org.anchoranalysis.feature.session.replace with type parameters of type ReplaceStrategyModifier and TypeClassDescriptionclass
BoundReplaceStrategy<T extends FeatureInput,
S extends ReplaceStrategy<T>> Attaches a replacement-strategy to a session lazily.Classes in org.anchoranalysis.feature.session.replace that implement ReplaceStrategyModifier and TypeClassDescriptionclass
AlwaysNew<T extends FeatureInput>
Always create a newSessionInputSequential
with no reuse or caching between calls.class
CacheAndReuseStrategy<T extends FeatureInput>
Reuse an existingFeatureCalculationInput
, as stored in a least-recently used cache, and without invalidating it.class
ReuseSingletonStrategy<T extends FeatureInput>
Always re-use an existingSessionInputSequential
, invalidating it each time a new call occurs.Methods in org.anchoranalysis.feature.session.replace that return ReplaceStrategyModifier and TypeMethodDescriptionBoundReplaceStrategy.createOrReuse
(FeatureList<T> features, FeatureInitialization initialization, SharedFeatures sharedFeatures, Logger logger) Creates aReplaceStrategy
for a particularCacheCreator
, or reuses any previously-createdReplaceStrategy
if it exists. -
Uses of ReplaceStrategy in org.anchoranalysis.image.feature.calculator.merged
Method parameters in org.anchoranalysis.image.feature.calculator.merged with type arguments of type ReplaceStrategyModifier and TypeMethodDescriptionMergedPairsFeatures.createCalculator
(CreateCalculatorHelper calculatorCreator, ImageInitialization initialization, BoundReplaceStrategy<FeatureInputStack, ? extends ReplaceStrategy<FeatureInputStack>> cachingStrategy) Creates a feature calculator for stack features.