Uses of Interface
org.anchoranalysis.feature.input.FeatureInput
Packages that use FeatureInput
Package
Description
Beans pertaining to feature-calculation.
A feature-list (custom list type for features) and associated providers.
Features that are sufficiently generic to work on any input-type.
Provider of a single feature.
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.
Initialization parameters used for beans in
org.anchoranalysis.feature.bean.Base classes providing inputs to feature calculations.
Data objects for the names of features.
Features shared for referencing among calculations.
A collection of named-
Features.-
Uses of FeatureInput in org.anchoranalysis.feature.bean
Classes in org.anchoranalysis.feature.bean with type parameters of type FeatureInputModifier and TypeClassDescriptionclassFeature<T extends FeatureInput>Base class for a measurement that calculates a result (double) given input parameters.Methods in org.anchoranalysis.feature.bean that return types with arguments of type FeatureInputModifier and TypeMethodDescriptionfinal FeatureList<FeatureInput> Feature.createListChildFeatures()Returns a list of Features that exist as bean-properties of this feature, either directly or in lists.abstract Class<? extends FeatureInput> Feature.inputType()The class corresponding to feature input-type.Method parameters in org.anchoranalysis.feature.bean with type arguments of type FeatureInputModifier and TypeMethodDescriptionprotected voidFeature.assignTo(Feature<FeatureInput> target) Copies fields in this (base) class totarget. -
Uses of FeatureInput in org.anchoranalysis.feature.bean.list
Classes in org.anchoranalysis.feature.bean.list with type parameters of type FeatureInputModifier and TypeClassDescriptionclassDefine<T extends FeatureInput>Specifies a list of features directly without assigning any custom-naming.classDefinedNamed<T extends FeatureInput>Specifies features via a list of names and associated with features.classDefineSingle<T extends FeatureInput>Specifies a single feature directly without assigning any custom-naming.classFeatureList<T extends FeatureInput>A list of features with the same input-type.classFeatureListProvider<T extends FeatureInput>Provides a list ofFeatures with identical input-type.classReferencingFeatureListProvider<T extends FeatureInput>A base class for implementations ofFeatureListProviderthat may reference features created elsewhere.Subclasses with type arguments of type FeatureInput in org.anchoranalysis.feature.bean.listModifier and TypeClassDescriptionclassPrepends a string to the custom-name of each feature in a list.Methods in org.anchoranalysis.feature.bean.list with type parameters of type FeatureInputModifier and TypeMethodDescriptionstatic <T extends FeatureInput>
FeatureList<T> FeatureListFactory.empty()Creates an empty list of features<S extends FeatureInput, E extends Exception>
FeatureList<S> FeatureList.filterAndMap(Predicate<Feature<T>> predicate, CheckedFunction<Feature<T>, Feature<S>, E> mappingFunction) static <S, T extends FeatureInput, E extends Exception>
FeatureList<T> FeatureListFactory.flatMapFromOptional(Iterable<S> iterable, CheckedFunction<S, Optional<FeatureList<T>>, E> flatMapFunc) Creates a new feature-list by flat-mapping an iterable to an optional featurestatic <T extends FeatureInput>
FeatureList<T> Creates a list for one or more featuresstatic <T extends FeatureInput>
FeatureList<T> FeatureListFactory.fromIterable(Iterable<Feature<T>> iterable) Creates a list of features from an iterablestatic <T extends FeatureInput>
FeatureList<T> FeatureListFactory.fromProvider(Provider<Feature<T>> featureProvider) Creates a list for a single-feature created from a providerstatic <T extends FeatureInput>
FeatureList<T> FeatureListFactory.fromProviders(Collection<FeatureProvider<T>> providers) Creates a list of features from a collection of feature-providersstatic <T extends FeatureInput>
FeatureList<T> FeatureListFactory.fromStream(Stream<Feature<T>> stream) Creates a list of features from a stream<S extends FeatureInput, E extends Exception>
FeatureList<S> FeatureList.map(CheckedFunction<Feature<T>, Feature<S>, E> mapFunc) Creates a new feature-list where each feature is the result of applying a map-function to an existing feature.static <S, T extends FeatureInput, E extends Exception>
FeatureList<T> FeatureListFactory.mapFrom(Iterable<S> iterable, CheckedFunction<S, Feature<T>, E> mapFunc) static <S, T extends FeatureInput, E extends Exception>
FeatureList<T> FeatureListFactory.mapFromFiltered(Iterable<S> iterable, Predicate<S> predicate, CheckedFunction<S, Feature<T>, E> mapFunc) Creates a new feature-list by filtering an iterable and then mapping it to a featurestatic <T extends FeatureInput>
FeatureList<T> FeatureListFactory.mapFromRange(int startInclusive, int endExclusive, IntFunction<Feature<T>> mapFunc) Creates a new feature-list by mapping integers (from a range) each to a featurestatic <T extends FeatureInput, E extends Exception>
FeatureList<T> FeatureListFactory.mapFromRangeOptional(int startInclusive, int endExclusive, Class<? extends Exception> throwableClass, CheckedIntFunction<Optional<Feature<T>>, E> mapFunc) Creates a new feature-list by mapping integers (from a range) each to an optional featurestatic <T extends FeatureInput>
FeatureList<T> FeatureListFactory.wrapDuplicate(List<Feature<T>> list) Wraps an existing list, WITHOUT reusing the list in the internals of theFeatureListi.e.static <T extends FeatureInput>
FeatureList<T> Wraps an existing list, reusing the list in the internals of theFeatureListMethods in org.anchoranalysis.feature.bean.list that return types with arguments of type FeatureInputModifier and TypeMethodDescriptionPrependName.get()PrependName.getItem()Provides the features and names before any prepending.Method parameters in org.anchoranalysis.feature.bean.list with type arguments of type FeatureInputModifier and TypeMethodDescriptionvoidPrependName.setItem(FeatureListProvider<FeatureInput> item) Provides the features and names before any prepending. -
Uses of FeatureInput in org.anchoranalysis.feature.bean.operator
Classes in org.anchoranalysis.feature.bean.operator with type parameters of type FeatureInputModifier and TypeClassDescriptionclassConstant<T extends FeatureInput>A constant value that is entirely invariant to the feature-input.classFeatureBinary<T extends FeatureInput>A base class for aFeaturethat is a binary-function of the results from two other features.classFeatureFromList<T extends FeatureInput>A base class for aFeaturethat is a function of the results from a list of other features.classFeatureGeneric<T extends FeatureInput>Base class for features that broadly accept any type of feature-input.classFeatureUnary<T extends FeatureInput, S extends FeatureInput>A feature that contains another feature as a bean-parameter.classFeatureUnary<T extends FeatureInput, S extends FeatureInput>A feature that contains another feature as a bean-parameter.classFeatureUnaryGeneric<T extends FeatureInput>AFeatureUnarythat accepts anyFeatureInputirrespective of type.classReference<T extends FeatureInput>Uses another feature to calculate the value.classSum<T extends FeatureInput>Sums the results after calculating a list ofFeatures.Methods in org.anchoranalysis.feature.bean.operator that return types with arguments of type FeatureInputModifier and TypeMethodDescriptionClass<? extends FeatureInput> FeatureBinary.inputType()Class<? extends FeatureInput> FeatureFromList.inputType()Class<? extends FeatureInput> FeatureGeneric.inputType()Class<? extends FeatureInput> FeatureUnary.inputType() -
Uses of FeatureInput in org.anchoranalysis.feature.bean.provider
Classes in org.anchoranalysis.feature.bean.provider with type parameters of type FeatureInputModifier and TypeClassDescriptionclassFeatureProvider<T extends FeatureInput>Provides a singleFeature.classFeatureProviderDefine<T extends FeatureInput>Defines a singleFeatureto provide via a bean property.Subclasses with type arguments of type FeatureInput in org.anchoranalysis.feature.bean.providerModifier and TypeClassDescriptionclassProvides an existingFeatureidentified by its name and optionally a feature-list in which is resides.Methods in org.anchoranalysis.feature.bean.provider that return types with arguments of type FeatureInput -
Uses of FeatureInput in org.anchoranalysis.feature.bean.results
Methods in org.anchoranalysis.feature.bean.results that return types with arguments of type FeatureInput -
Uses of FeatureInput in org.anchoranalysis.feature.calculate
Classes in org.anchoranalysis.feature.calculate with type parameters of type FeatureInputModifier and TypeInterfaceDescriptioninterfaceFeatureCalculationInput<T extends FeatureInput>Gives aFeatureInputthe necessary context for feature-calculation, including associating it with a cache.interfaceFeatureCalculator<T extends FeatureInput>CalculatesFeatureCalculationInputwhen passed a particularFeatureand correspondingFeatureCalculationInput. -
Uses of FeatureInput in org.anchoranalysis.feature.calculate.bound
Classes in org.anchoranalysis.feature.calculate.bound with type parameters of type FeatureInputModifier and TypeInterfaceDescriptioninterfaceFeatureCalculatorMulti<T extends FeatureInput>Like aFeatureCalculatorbut is permanently associated with one or moreFeatures.classFeatureCalculatorMultiChangeInput<T extends FeatureInput>AFeatureCalculatorMultibut changes the input before calculation.interfaceFeatureCalculatorSingle<T extends FeatureInput>Like aFeatureCalculatorbut is permanently associated with a singleFeature.classFeatureCalculatorSingleChangeInput<T extends FeatureInput>AFeatureCalculatorSinglebut changes the input before calculation.classFeatureCalculatorSingleFromMulti<T extends FeatureInput>Exposes aFeatureCalculatorMultias aFeatureCalculatorSingle. -
Uses of FeatureInput in org.anchoranalysis.feature.calculate.cache
Classes in org.anchoranalysis.feature.calculate.cache with type parameters of type FeatureInputModifier and TypeInterfaceDescriptioninterfaceCalculateForChild<T extends FeatureInput>Performs calculations using child-caches instead of the main cacheinterfaceFeatureCalculationCache<T extends FeatureInput>A context in which to calculate features while caching certain duplicated internal calculations among the features.interfaceFeatureSymbolCalculator<T extends FeatureInput>Resolves and calculates a feature by a symbol.Methods in org.anchoranalysis.feature.calculate.cache with type parameters of type FeatureInputModifier 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.<V extends FeatureInput>
FeatureCalculationCache<V> FeatureCalculationCache.childCacheFor(ChildCacheName childName, Class<? extends FeatureInput> inputType, CacheCreator cacheCreator) Gets/creates a child-cache for a given name.<T extends FeatureInput>
FeatureCalculationCache<T> CacheCreator.create(Class<? extends FeatureInput> inputType) Creates aFeatureCalculationCachethat accepts a particular input type.Method parameters in org.anchoranalysis.feature.calculate.cache with type arguments of type FeatureInputModifier and TypeMethodDescription<V extends FeatureInput>
FeatureCalculationCache<V> FeatureCalculationCache.childCacheFor(ChildCacheName childName, Class<? extends FeatureInput> inputType, CacheCreator cacheCreator) Gets/creates a child-cache for a given name.<T extends FeatureInput>
FeatureCalculationCache<T> CacheCreator.create(Class<? extends FeatureInput> inputType) Creates aFeatureCalculationCachethat accepts a particular input type. -
Uses of FeatureInput in org.anchoranalysis.feature.calculate.cache.part
Classes in org.anchoranalysis.feature.calculate.cache.part with type parameters of type FeatureInputModifier and TypeClassDescriptionclassResolvedPart<S, T extends FeatureInput>Like aCalculationPartbut has been resolved against a cache to reuse any existing identical instance.classResolvedPartMap<S, T extends FeatureInput, U>ACalculationPartMapthat has been resolved against a cache. -
Uses of FeatureInput in org.anchoranalysis.feature.calculate.part
Classes in org.anchoranalysis.feature.calculate.part with type parameters of type FeatureInputModifier and TypeClassDescriptionclassCalculationPart<S, T extends FeatureInput>A sub-part of the calculation of a feature, that can be cached, and reused by other features.classCalculationPartMap<S, T extends FeatureInput, U, E extends Exception>Similar to aCalculationPartbut stores several evaluation results, differentiated by a key.interfaceCalculationPartResolver<T extends FeatureInput>Searches a cache to reuses aCalculationPartif it already exists. -
Uses of FeatureInput in org.anchoranalysis.feature.initialization
Methods in org.anchoranalysis.feature.initialization that return types with arguments of type FeatureInputModifier and TypeMethodDescriptionFeatureRelatedInitialization.getFeatureLists()Gets the underlyingNamedProviderStorethat provides shared-features.Method parameters in org.anchoranalysis.feature.initialization with type arguments of type FeatureInputModifier and TypeMethodDescriptionvoidFeatureRelatedInitialization.populate(List<NamedBean<FeatureListProvider<FeatureInput>>> namedProviders, Logger logger) Adds features into the shared-feature storage from a list of named-beans. -
Uses of FeatureInput in org.anchoranalysis.feature.input
Subinterfaces of FeatureInput in org.anchoranalysis.feature.inputModifier and TypeInterfaceDescriptioninterfaceAFeatureInputWithResolutionthat has an optional associatedDictionary.interfaceAFeatureInputthat exposes theResolutionof an image or scene.Classes in org.anchoranalysis.feature.input that implement FeatureInputModifier and TypeClassDescriptionclassAFeatureInputthat exposes theDimensionsof an image or scene.classAFeatureInputDimensionsthat has an optionalEnergyStackassociated with it.classAFeatureInputwith no associated parameterization.final classAFeatureInputwith the stored results from a prior feature-calculation.Methods in org.anchoranalysis.feature.input with type parameters of type FeatureInputModifier and TypeMethodDescriptionstatic <T extends FeatureInput>
Class<? extends FeatureInput> FeatureInputType.determineInputType(List<Feature<T>> list) Finds a common input-type for classes in the list, throwing an exception if any two types aren't compatible.Methods in org.anchoranalysis.feature.input that return types with arguments of type FeatureInputModifier and TypeMethodDescriptionstatic Class<? extends FeatureInput> FeatureInputType.determineInputType(Class<? extends FeatureInput> inputType1, Class<? extends FeatureInput> inputType2) Finds a common input-type for two classes, throwing an exception if the two types aren't compatible.static <T extends FeatureInput>
Class<? extends FeatureInput> FeatureInputType.determineInputType(List<Feature<T>> list) Finds a common input-type for classes in the list, throwing an exception if any two types aren't compatible.static Optional<Class<? extends FeatureInput>> FeatureInputType.prefer(Class<? extends FeatureInput> inputType1, Class<? extends FeatureInput> inputType2) Prefer to keep descriptor whose input-class is a sub-class rather than a super-class.static Class<? extends FeatureInput> LikeFeatureInputType.prefer(Class, Class)but accepts features directly as input.Method parameters in org.anchoranalysis.feature.input with type arguments of type FeatureInputModifier and TypeMethodDescriptionstatic Class<? extends FeatureInput> FeatureInputType.determineInputType(Class<? extends FeatureInput> inputType1, Class<? extends FeatureInput> inputType2) Finds a common input-type for two classes, throwing an exception if the two types aren't compatible.static booleanFeatureInputType.isCompatibleWith(Class<? extends FeatureInput> sourceType, Class<? extends FeatureInput> otherType) Can these parameters be used with a particular feature?static Optional<Class<? extends FeatureInput>> FeatureInputType.prefer(Class<? extends FeatureInput> inputType1, Class<? extends FeatureInput> inputType2) Prefer to keep descriptor whose input-class is a sub-class rather than a super-class. -
Uses of FeatureInput in org.anchoranalysis.feature.name
Method parameters in org.anchoranalysis.feature.name with type arguments of type FeatureInputModifier and TypeMethodDescriptionstatic voidAssignFeatureNameUtilities.assignWithPrefix(Feature<? extends FeatureInput> feature, String existingName, String prefix) Assigns a new custom-name to a feature, by combining an existing-name with a prefix. -
Uses of FeatureInput in org.anchoranalysis.feature.store
Classes in org.anchoranalysis.feature.store with type parameters of type FeatureInputModifier and TypeClassDescriptionclassNamedFeatureStore<T extends FeatureInput>StoresFeatures, each with an associated name, with list-like access and map-like access.Methods in org.anchoranalysis.feature.store with type parameters of type FeatureInputModifier and TypeMethodDescription<T extends FeatureInput>
NamedFeatureStore<T> NamedFeatureStoreFactory.createNamedFeatureList(List<NamedBean<FeatureListProvider<T>>> namedFeatures) Create aNamedFeatureStorefrom a list of beans.