Package | Description |
---|---|
messif.algorithms |
Search algorithms base classes.
|
messif.algorithms.impl |
Implementation of basic search algorithms.
|
messif.buckets.impl |
Bucket implementations.
|
messif.buckets.split |
Bucket splitting support.
|
messif.objects.classification.impl |
Provides implementations for common classification tasks.
|
messif.objects.extraction |
Support for
object extraction. |
messif.operations.query |
Implementation of data querying operations.
|
Modifier and Type | Class and Description |
---|---|
class |
DistributedAlgorithm
Abstract distributed algorithm framework with support for request/reply messaging and respective operation executive.
|
class |
RMIAlgorithm
Uses a (set of) RMI connection(s) to remote algorithm to simulate local algorithm.
|
class |
RMIAlgorithmMultiThread
Uses a pool of RMI connections (see
RMIMethodExecutor ) to remote algorithm to simulate local algorithm. |
class |
RMIAlgorithmOriginal
Deprecated.
this code is stored here just in case the new implementation of
RMIAlgorithm would not work
exactly in the same way as the original one |
Modifier and Type | Method and Description |
---|---|
static <E extends Algorithm> |
Algorithm.getAnnotatedConstructors(java.lang.Class<? extends E> algorithmClass)
Returns all annotated constructors of the provided algorithm class.
|
static <E extends Algorithm> |
Algorithm.getAnnotatedConstructorsArray(java.lang.Class<? extends E> algorithmClass)
Returns all annotated constructors of the provided algorithm class as array.
|
static <T extends Algorithm> |
Algorithm.restoreFromFile(java.lang.String filepath,
java.lang.Class<T> algorithmClass)
Load the algorithm from the specified file and return it.
|
Modifier and Type | Method and Description |
---|---|
Algorithm |
AlgorithmRMIServer.getAlgorithm()
Returns the encapsulated algorithm.
|
static Algorithm |
Algorithm.restoreFromFile(java.lang.String filepath)
Load the algorithm from the specified file and return it.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String[] |
Algorithm.getConstructorArgumentDescriptions(java.lang.reflect.Constructor<? extends Algorithm> constructor)
Returns constructor argument descriptions for the provided algorithm constructor.
|
static java.lang.String |
Algorithm.getConstructorDescription(java.lang.reflect.Constructor<? extends Algorithm> constructor)
Returns algorithm constructor description including descriptions for all its arguments.
|
static java.lang.String |
Algorithm.getConstructorDescriptionSimple(java.lang.reflect.Constructor<? extends Algorithm> constructor)
Returns constructor description (without description of arguments) for the provided algorithm constructor.
|
Constructor and Description |
---|
AlgorithmRMIServer(Algorithm algorithm,
int port,
boolean clearSurplusData)
Creates a new instance of AlgorithmRMIServer listening on the specified port.
|
Modifier and Type | Class and Description |
---|---|
class |
ClassifierAlgorithm<C>
Algorithm wrapper for a
Classifier . |
class |
FileSequentialScan
Implementation of the naive sequential scan algorithm over a given file of objects.
|
class |
LocatorStorageAlgorithm
Wrapper for any
Algorithm that stores all the inserted objects into additional
storage. |
class |
MultipleOverlaysAlgorithm
Indexing algorithm that processes operation by passing them to encapsulated collection
of algorithms.
|
class |
MultiQueryWrapperAlgorithm
Wrapper algorithm that processes
RankingMultiQueryOperation s by executing
multiple single-object queries and add them to the result. |
class |
ParallelSequentialScan
Parallel implementation of the naive sequential scan algorithm.
|
class |
SequentialScan
Implementation of the naive sequential scan algorithm.
|
Modifier and Type | Method and Description |
---|---|
Algorithm |
LocatorStorageAlgorithm.getAlgorithm()
Returns the encapsulated algorithm.
|
Algorithm |
MultiQueryWrapperAlgorithm.getAlgorithm()
Returns the encapsulated algorithm.
|
Algorithm |
MultipleOverlaysAlgorithm.getAlgorithm(int i) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<Algorithm> |
MultipleOverlaysAlgorithm.getAlgorithms()
Returns all the currently encapsulated algorithms.
|
Constructor and Description |
---|
LocatorStorageAlgorithm(Algorithm encapsulatedAlgorithm,
StorageIndexed<LocalAbstractObject> storage)
Creates a new locator-storage algorithm wrapper for the given algorithm.
|
LocatorStorageAlgorithm(Algorithm encapsulatedAlgorithm,
java.lang.String metaobjectName,
StorageIndexed<LocalAbstractObject> storage)
Creates a new locator-storage algorithm wrapper for the given algorithm.
|
LocatorStorageAlgorithm(Algorithm encapsulatedAlgorithm,
java.lang.String dbConnUrl,
java.lang.String tableName,
java.lang.Class<?>[] cacheClasses)
Creates a new locator-db-storage algorithm wrapper for the given algorithm.
|
LocatorStorageAlgorithm(Algorithm encapsulatedAlgorithm,
java.lang.String metaobjectName,
java.lang.String dbConnUrl,
java.lang.String tableName,
java.lang.Class<?>[] cacheClasses)
Creates a new locator-db-storage algorithm wrapper for the given algorithm.
|
MultipleOverlaysAlgorithm(Algorithm[] algorithms,
boolean cloneAsynchronousOperation)
Creates a new multi-algorithm overlay for the given collection of algorithms.
|
MultiQueryWrapperAlgorithm(Algorithm algorithm,
java.lang.Class<? extends QueryOperation<?>> singleQueryOperationClass,
java.lang.String... operationParameters)
Creates a new multi-object query wrapper algorithm.
|
Constructor and Description |
---|
MultipleOverlaysAlgorithm(java.util.Collection<? extends Algorithm> algorithms,
boolean cloneAsynchronousOperation)
Creates a new multi-algorithm overlay for the given collection of algorithms.
|
MultipleOverlaysAlgorithm(java.lang.String algName,
java.util.Collection<? extends Algorithm> algorithms,
boolean cloneAsynchronousOperation)
Creates a new multi-algorithm overlay for the given collection of algorithms.
|
Modifier and Type | Method and Description |
---|---|
protected static Algorithm |
AlgorithmStorageBucket.createAlgorithmFromParams(java.util.Map<java.lang.String,java.lang.Object> parameters)
Creates an algorithm of the specified class with map of parameters.
|
Algorithm |
AlgorithmStorageBucket.getAlgorithm()
Return the instance of the algorithm encapsulated by this bucket
|
Constructor and Description |
---|
AlgorithmStorageBucket(Algorithm algorithm,
long capacity,
long softCapacity,
long lowOccupation,
boolean occupationAsBytes)
Creates a new instance of AlgorithmStorageBucket and setups all bucket limits.
|
Modifier and Type | Method and Description |
---|---|
void |
SplittableAlgorithm.SplittableAlgorithmResult.markMovedObject(Algorithm algorithm,
LocalAbstractObject object)
Registers a move of one object into the result.
|
void |
SplittableAlgorithm.SplittableAlgorithmResult.markMovedObjects(Algorithm algorithm,
java.util.Collection<? extends LocalAbstractObject> objects)
Registers a move of objects into the result.
|
Constructor and Description |
---|
ApproxKNNOperationClassifier(Classifier<? super RankingQueryOperation,C> classifier,
int k,
int localSearchParam,
Approximate.LocalSearchType localSearchType,
float radiusGuaranteed,
Algorithm algorithm,
java.lang.String executedOperationParameter)
Creates a new kNN classifier.
|
KNNOperationClassifier(Classifier<? super RankingQueryOperation,C> classifier,
int k,
Algorithm algorithm,
java.lang.String executedOperationParameter)
Creates a new kNN classifier.
|
RankingQueryOperationClassifier(Classifier<? super RankingQueryOperation,C> classifier,
Algorithm algorithm,
java.lang.String executedOperationParameter)
Creates a new kNN classifier.
|
Constructor and Description |
---|
AlgorithmExtractor(Algorithm algorithm,
java.lang.Class<? extends SingletonQueryOperation> operationClass,
java.lang.String... operationArguments)
Creates a new instance of algorithm extractor.
|
Modifier and Type | Method and Description |
---|---|
int |
RangeJoinQueryOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects,
Algorithm alg)
Evaluate this join query on a given set of objects and algorithm to run on.
|
int |
RangeJoinQueryOperation.evaluateInParallel(AbstractObjectIterator<? extends LocalAbstractObject> objects,
Algorithm alg,
int threads)
Evaluate this join query on a given set of objects.
|
int |
RangeJoinQueryOperation.evaluateSerially(AbstractObjectIterator<? extends LocalAbstractObject> objects,
Algorithm alg)
Evaluate this join query on a given set of objects.
|
Constructor and Description |
---|
RangeJoinQueryOperation(float mu,
int k,
boolean skipSymmetricPairs,
AnswerType answerType,
Algorithm alg,
int parallelQueries,
java.lang.Class<RankingQueryOperation> queryCls,
java.lang.String... queryParams)
Creates an instance of range join query.
|