Package | Description |
---|---|
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.session.cache.finder |
Strategies to determine which child-cache (among hierarchy) to employ for a particular feature
calculation.
|
org.anchoranalysis.image.feature.bean.object.pair |
Features that operate on a pair of
ObjectMask s. |
org.anchoranalysis.plugin.image.feature.bean.object.single.morphological |
Implementations of
FeatureSingleObject that implement
morphological operations. |
org.anchoranalysis.plugin.image.feature.object.calculation.delegate |
Implementations of
CalculationPart as used by
features elsewhere in this package. |
Modifier and Type | Method and Description |
---|---|
<S extends FeatureInput,U> |
CalculateForChild.calculate(ChildCacheName childCacheName,
S input,
java.util.function.Function<CalculationPartResolver<S>,ResolvedPart<U,S>> resolver)
Calculates a
CalculationPart in a child-cache. |
<S extends FeatureInput> |
CalculateForChild.calculate(Feature<S> feature,
CalculationPart<S,T> calculation,
ChildCacheName childCacheName)
Calculates a feature in a child-cache using a new input created from a
CalculationPart . |
<S extends FeatureInput> |
CalculateForChild.calculate(Feature<S> feature,
S input,
ChildCacheName childCacheName)
Calculates a feature in a child-cache.
|
<V extends FeatureInput> |
FeatureCalculationCache.childCacheFor(ChildCacheName childName,
Class<? extends FeatureInput> inputType,
CacheCreator cacheCreator)
Gets/creates a child-cache for a given name.
|
Modifier and Type | Method and Description |
---|---|
void |
FeatureCalculationCache.invalidateExcept(Set<ChildCacheName> childCacheNames)
Invalidates existing caches so the next calculations occur freshly - except some particular
child-caches who are not invalidated.
|
Modifier and Type | Method and Description |
---|---|
Optional<Set<ChildCacheName>> |
ChildCacheFinder.cachesToAvoidInvalidating()
If set, these particular-caches are exceptionally not invalidated during the typical
invalidation operation on their parent.
|
Optional<Set<ChildCacheName>> |
DefaultChildCacheFinder.cachesToAvoidInvalidating() |
Optional<Set<ChildCacheName>> |
CheckCacheForSpecificChildren.cachesToAvoidInvalidating() |
Set<ChildCacheName> |
CacheTransferSourceCollection.getAllCacheNames()
The names of all child-caches that are made available.
|
Set<ChildCacheName> |
CacheTransferSource.getCacheNames()
The names of the child-caches that can be used as sources.
|
Modifier and Type | Method and Description |
---|---|
<V extends FeatureInput> |
ChildCacheFinder.childCacheFor(FeatureCalculationCache<?> parentCache,
CacheCreator factory,
ChildCacheName childCacheName,
V input)
Selects a child-cache given a parent and a child-name.
|
<V extends FeatureInput> |
DefaultChildCacheFinder.childCacheFor(FeatureCalculationCache<?> parentCache,
CacheCreator factory,
ChildCacheName childName,
V input) |
<V extends FeatureInput> |
CheckCacheForSpecificChildren.childCacheFor(FeatureCalculationCache<?> parentCache,
CacheCreator factory,
ChildCacheName childName,
V input) |
boolean |
CacheTransferSourceCollection.contains(ChildCacheName name)
Whether a particular child-cache exists in the source?
|
boolean |
CacheTransferSource.containsChild(ChildCacheName name)
Whether a particular child-cache exists in the source?
|
Constructor and Description |
---|
CacheTransferSource(CacheSupplier<T,OperationFailedException> cacheToSearch,
Set<ChildCacheName> specificChildren) |
Modifier and Type | Field and Description |
---|---|
static ChildCacheName |
FeatureDeriveFromPair.CACHE_NAME_FIRST |
static ChildCacheName |
FeatureDeriveFromPair.CACHE_NAME_MERGED |
static ChildCacheName |
FeatureDeriveFromPair.CACHE_NAME_SECOND |
Modifier and Type | Method and Description |
---|---|
ChildCacheName |
Erode.cacheName() |
ChildCacheName |
Shell.cacheName() |
protected abstract ChildCacheName |
DerivedObject.cacheName() |
Modifier and Type | Method and Description |
---|---|
static <S extends FeatureInput,T extends FeatureInput,U> |
CalculateInputFromDelegateOption.calc(FeatureCalculationInput<T> input,
CalculationPart<U,T> delegate,
java.util.function.Function<ResolvedPart<U,T>,CalculateInputFromDelegateOption<S,T,U>> createFromDelegate,
Feature<S> feature,
ChildCacheName cacheName,
double emptyValue)
Calculates a feature using a cached-calculation as delegate.
|
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.