Index

A B C D F G H I O R S W 
All Classes All Packages

A

add(CacheTransferSource<? extends FeatureInput>) - Method in class org.anchoranalysis.feature.session.cache.finder.CacheTransferSourceCollection
Adds a source.
AlwaysNew<T extends FeatureInput> - Class in org.anchoranalysis.feature.session.replace
Always create a new SessionInputSequential with no reuse or caching between calls.
AlwaysNew(CacheCreator) - Constructor for class org.anchoranalysis.feature.session.replace.AlwaysNew
Constructor with default means of creating a FeatureCalculationInput.
AlwaysNew(CacheCreator, ChildCacheFinder) - Constructor for class org.anchoranalysis.feature.session.replace.AlwaysNew
 

B

BoundReplaceStrategy<T extends FeatureInput,​S extends ReplaceStrategy<T>> - Class in org.anchoranalysis.feature.session.replace
Attaches a replacement-strategy to a session lazily.
BoundReplaceStrategy(Function<CacheCreator, S>) - Constructor for class org.anchoranalysis.feature.session.replace.BoundReplaceStrategy
 
bySymbol() - Method in class org.anchoranalysis.feature.session.SessionInputSequential
 

C

cache(FeatureCalculatorMulti<T>) - Static method in class org.anchoranalysis.feature.session.calculator.FeatureCalculatorCache
Creates a cached version of a FeatureCalculatorMulti with a default cache-size.
cache(FeatureCalculatorMulti<T>, int) - Static method in class org.anchoranalysis.feature.session.calculator.FeatureCalculatorCache
Creates a cached version of a FeatureCalculatorMulti with a particular cache-size.
cache(FeatureCalculatorSingle<T>) - Static method in class org.anchoranalysis.feature.session.calculator.FeatureCalculatorCache
Creates a cached version of a FeatureCalculatorSingle with a default cache-size.
cache(FeatureCalculatorSingle<T>, int) - Static method in class org.anchoranalysis.feature.session.calculator.FeatureCalculatorCache
Creates a cached version of a FeatureCalculatorSingle with a particular cache-size.
CacheAndReuseStrategy<T extends FeatureInput> - Class in org.anchoranalysis.feature.session.replace
Reuse an existing FeatureCalculationInput, as stored in a least-recently used cache, and without invalidating it.
CacheAndReuseStrategy(CacheCreator) - Constructor for class org.anchoranalysis.feature.session.replace.CacheAndReuseStrategy
Create with a particular CacheCreator.
cachesToAvoidInvalidating() - Method in class org.anchoranalysis.feature.session.cache.finder.CheckCacheForSpecificChildren
 
cachesToAvoidInvalidating() - Method in interface org.anchoranalysis.feature.session.cache.finder.ChildCacheFinder
If set, these particular-caches are exceptionally not invalidated during the typical invalidation operation on their parent.
cachesToAvoidInvalidating() - Method in class org.anchoranalysis.feature.session.cache.finder.DefaultChildCacheFinder
 
CacheSupplier<T extends FeatureInput,​E extends Exception> - Interface in org.anchoranalysis.feature.session.cache.finder
Supplies a LRUCache that maps a feature input-type to a corresponding to FeatureCalculationInput.
CacheTransferSource<T extends FeatureInput> - Class in org.anchoranalysis.feature.session.cache.finder
An existing cache that can be used as a source for child-caches elsewhere.
CacheTransferSource(CacheSupplier<T, OperationFailedException>, Set<ChildCacheName>) - Constructor for class org.anchoranalysis.feature.session.cache.finder.CacheTransferSource
 
CacheTransferSourceCollection - Class in org.anchoranalysis.feature.session.cache.finder
A collection of existing caches that can collectively be used as sources for child-caches elsewhere.
CacheTransferSourceCollection() - Constructor for class org.anchoranalysis.feature.session.cache.finder.CacheTransferSourceCollection
 
calculate(Feature<T>) - Method in class org.anchoranalysis.feature.session.SessionInputSequential
 
calculate(FeatureList<T>) - Method in class org.anchoranalysis.feature.session.SessionInputSequential
 
calculate(ResolvedPart<S, T>) - Method in class org.anchoranalysis.feature.session.SessionInputSequential
 
calculate(CalculationPart<S, T>) - Method in class org.anchoranalysis.feature.session.SessionInputSequential
 
calculate(T) - Method in class org.anchoranalysis.feature.session.SequentialSession
 
calculate(T, FeatureList<T>) - Method in class org.anchoranalysis.feature.session.SequentialSession
 
calculateSuppressErrors(T, ErrorReporter) - Method in class org.anchoranalysis.feature.session.SequentialSession
Calculates the results for the next input in the session, reporting any exceptions into an ErrorReporter.
calculateWith(Feature<T>, T, Logger) - Static method in class org.anchoranalysis.feature.session.FeatureSession
Starts a feature-session for a single feature - and performs a calculation.
CheckCacheForSpecificChildren - Class in org.anchoranalysis.feature.session.cache.finder
For particular child-caches, check if a FeatureCalculationInput is available from another LRU-cache and reuse.
CheckCacheForSpecificChildren(Class<?>, CacheTransferSourceCollection) - Constructor for class org.anchoranalysis.feature.session.cache.finder.CheckCacheForSpecificChildren
 
ChildCacheFinder - Interface in org.anchoranalysis.feature.session.cache.finder
Strategy to determine which child-cache (among hierarchy) to employ for a particular feature calculation.
childCacheFor(FeatureCalculationCache<?>, CacheCreator, ChildCacheName, V) - Method in class org.anchoranalysis.feature.session.cache.finder.CheckCacheForSpecificChildren
 
childCacheFor(FeatureCalculationCache<?>, CacheCreator, ChildCacheName, V) - Method in interface org.anchoranalysis.feature.session.cache.finder.ChildCacheFinder
Selects a child-cache given a parent and a child-name.
childCacheFor(FeatureCalculationCache<?>, CacheCreator, ChildCacheName, V) - Method in class org.anchoranalysis.feature.session.cache.finder.DefaultChildCacheFinder
 
contains(ChildCacheName) - Method in class org.anchoranalysis.feature.session.cache.finder.CacheTransferSourceCollection
Whether a particular child-cache exists in the source?
containsChild(ChildCacheName) - Method in class org.anchoranalysis.feature.session.cache.finder.CacheTransferSource
Whether a particular child-cache exists in the source?
create(Class<? extends FeatureInput>) - Method in class org.anchoranalysis.feature.session.cache.HorizontalCacheCreator
 
createOrReuse(FeatureList<T>, FeatureInitialization, SharedFeatures, Logger) - Method in class org.anchoranalysis.feature.session.replace.BoundReplaceStrategy
Creates a ReplaceStrategy for a particular CacheCreator, or reuses any previously-created ReplaceStrategy if it exists.
createOrReuse(T) - Method in class org.anchoranalysis.feature.session.replace.AlwaysNew
 
createOrReuse(T) - Method in class org.anchoranalysis.feature.session.replace.CacheAndReuseStrategy
 
createOrReuse(T) - Method in interface org.anchoranalysis.feature.session.replace.ReplaceStrategy
Find or create a FeatureCalculationInput to associate with input.
createOrReuse(T) - Method in class org.anchoranalysis.feature.session.replace.ReuseSingletonStrategy
 

D

DefaultChildCacheFinder - Class in org.anchoranalysis.feature.session.cache.finder
The default strategy for finding children by always directly taking (or creating a child-cache) as necessary.

F

FeatureCalculatorCache - Class in org.anchoranalysis.feature.session.calculator
FeatureSession - Class in org.anchoranalysis.feature.session
A single-point in the code for creating feature-sessions (a factory).
finderForGrandchild() - Method in class org.anchoranalysis.feature.session.cache.finder.CheckCacheForSpecificChildren
 
finderForGrandchild() - Method in interface org.anchoranalysis.feature.session.cache.finder.ChildCacheFinder
What finder to use for children-of-children?
finderForGrandchild() - Method in class org.anchoranalysis.feature.session.cache.finder.DefaultChildCacheFinder
 
forChild() - Method in class org.anchoranalysis.feature.session.SessionInputSequential
 

G

get() - Method in interface org.anchoranalysis.feature.session.cache.finder.CacheSupplier
Gets the cache.
get() - Method in class org.anchoranalysis.feature.session.SessionInputSequential
 
getAllCacheNames() - Method in class org.anchoranalysis.feature.session.cache.finder.CacheTransferSourceCollection
The names of all child-caches that are made available.
getCache() - Method in class org.anchoranalysis.feature.session.replace.CacheAndReuseStrategy
The cache mapping a particular input to a corresponding FeatureCalculationInput.
getCache() - Method in class org.anchoranalysis.feature.session.SessionInputSequential
 
getCacheNames() - Method in class org.anchoranalysis.feature.session.cache.finder.CacheTransferSource
The names of the child-caches that can be used as sources.
getInputIfPresent(T) - Method in class org.anchoranalysis.feature.session.cache.finder.CacheTransferSource
Gets corresponding FeatureCalculationInput for an input, if present, but doesn't create any new entry if it's absent.
getStrategy() - Method in class org.anchoranalysis.feature.session.replace.BoundReplaceStrategy
The strategy that has been bound (if it exists).

H

HorizontalCacheCreator - Class in org.anchoranalysis.feature.session.cache
Creates a FeatureCalculationCache which caches the results of calls to features, even if the same feature appears multiple times, directly or indirectly.
HorizontalCacheCreator(FeatureList<? extends FeatureInput>, SharedFeatures, FeatureInitialization, Logger) - Constructor for class org.anchoranalysis.feature.session.cache.HorizontalCacheCreator
 

I

instance() - Static method in class org.anchoranalysis.feature.session.cache.finder.DefaultChildCacheFinder
Singleton instance of DefaultChildCacheFinder.
iterator() - Method in class org.anchoranalysis.feature.session.cache.finder.CacheTransferSourceCollection
 

O

org.anchoranalysis.feature.session - package org.anchoranalysis.feature.session
A defined context in which one or more features are provided inputs and produce results.
org.anchoranalysis.feature.session.cache - package org.anchoranalysis.feature.session.cache
Creates a FeatureCalculationCache to use during feature-calculations.
org.anchoranalysis.feature.session.cache.finder - package org.anchoranalysis.feature.session.cache.finder
Strategies to determine which child-cache (among hierarchy) to employ for a particular feature calculation.
org.anchoranalysis.feature.session.calculator - package org.anchoranalysis.feature.session.calculator
Base classes for methods to calculate results from features.
org.anchoranalysis.feature.session.replace - package org.anchoranalysis.feature.session.replace
Strategies on whether to reuse or invalidate a feature-input's cache.

R

replaceInput(T) - Method in class org.anchoranalysis.feature.session.SessionInputSequential
Replaces existing input with new input
ReplaceStrategy<T extends FeatureInput> - Interface in org.anchoranalysis.feature.session.replace
Different strategies on associating a FeatureCalculationInput with a particular input.
resolver() - Method in class org.anchoranalysis.feature.session.SessionInputSequential
 
ReuseSingletonStrategy<T extends FeatureInput> - Class in org.anchoranalysis.feature.session.replace
Always re-use an existing SessionInputSequential, invalidating it each time a new call occurs.
ReuseSingletonStrategy(CacheCreator) - Constructor for class org.anchoranalysis.feature.session.replace.ReuseSingletonStrategy
Constructor with default means of creating a FeatureCalculationInput.
ReuseSingletonStrategy(CacheCreator, ChildCacheFinder) - Constructor for class org.anchoranalysis.feature.session.replace.ReuseSingletonStrategy
Constructor with custom means of creating a FeatureCalculationInput

S

SequentialSession<T extends FeatureInput> - Class in org.anchoranalysis.feature.session
Calculates features with successively different inputs, without caching any results from one input to the next.
SessionInputSequential<T extends FeatureInput> - Class in org.anchoranalysis.feature.session
A feature-input that will be used in a SequentialSession
SessionInputSequential(T, CacheCreator) - Constructor for class org.anchoranalysis.feature.session.SessionInputSequential
Creates for a particular input and CacheCreator, otherwise using defaults.
SessionInputSequential(T, CacheCreator, ChildCacheFinder) - Constructor for class org.anchoranalysis.feature.session.SessionInputSequential
Creates for a particular input, CacheCreator and ChildCacheFinder.
sizeFeatures() - Method in class org.anchoranalysis.feature.session.SequentialSession
 
start(FeatureInitialization, SharedFeatures, Logger) - Method in class org.anchoranalysis.feature.session.SequentialSession
Starts the session.

W

with(Feature<T>, Logger) - Static method in class org.anchoranalysis.feature.session.FeatureSession
Starts a feature-session for a single feature.
with(Feature<T>, FeatureInitialization, SharedFeatures, Logger) - Static method in class org.anchoranalysis.feature.session.FeatureSession
Starts a feature-session for a single feature, with specific initialization.
with(Feature<T>, SharedFeatures, Logger) - Static method in class org.anchoranalysis.feature.session.FeatureSession
Starts a feature-session for a single feature, with default initialization.
with(FeatureList<T>, Logger) - Static method in class org.anchoranalysis.feature.session.FeatureSession
Starts a feature-session for a list of features, with default initialization.
with(FeatureList<T>, FeatureInitialization, Optional<SharedFeatures>, Logger, BoundReplaceStrategy<T, ? extends ReplaceStrategy<T>>) - Static method in class org.anchoranalysis.feature.session.FeatureSession
Starts a feature-session for a list of features, with particular initialization, and a replaceStrategy.
with(FeatureList<T>, FeatureInitialization, SharedFeatures, Logger) - Static method in class org.anchoranalysis.feature.session.FeatureSession
Starts a feature-session for a list of features, with particular initialization.
A B C D F G H I O R S W 
All Classes All Packages