|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use LocalAbstractObject | |
---|---|
messif.algorithms | Search algorithms base classes. |
messif.algorithms.impl | Implementation of basic search algorithms. |
messif.buckets | Storage classes capable of holding objects . |
messif.buckets.impl | Bucket implementations. |
messif.buckets.index | Bucket indexes for improved access. |
messif.buckets.split | Bucket splitting support. |
messif.buckets.split.impl | Implementation of various bucket splitting policies. |
messif.buckets.storage.impl | Implementations of physical bucket storage. |
messif.objects | Metric data objects. |
messif.objects.extraction | Support for object extraction. |
messif.objects.impl | Implementation of basic data objects. |
messif.objects.util | Various utilities for working with collections of objects. |
messif.operations | Generic classes for data manipulatioin and querying operations. |
messif.operations.data | Implementation of data-manipulation operations. |
messif.operations.query | Implementation of data querying operations. |
messif.pivotselection | Support for selection of representative objects (pivots). |
Uses of LocalAbstractObject in messif.algorithms |
---|
Methods in messif.algorithms that return types with arguments of type LocalAbstractObject | |
---|---|
java.lang.Class<? extends LocalAbstractObject> |
Algorithm.getObjectClass()
Returns the class of objects indexed by this algorithm. |
Uses of LocalAbstractObject in messif.algorithms.impl |
---|
Fields in messif.algorithms.impl with type parameters of type LocalAbstractObject | |
---|---|
protected AbstractObjectList<LocalAbstractObject> |
SequentialScan.pivots
A list of fixed pivots used for filtering |
Methods in messif.algorithms.impl with parameters of type LocalAbstractObject | |
---|---|
protected void |
SequentialScan.addPrecompDist(LocalAbstractObject object)
Add precomputed distances to a given object. |
Constructor parameters in messif.algorithms.impl with type arguments of type LocalAbstractObject | |
---|---|
SequentialScan(java.lang.Class<? extends LocalBucket> bucketClass,
AbstractObjectIterator<LocalAbstractObject> pivotIter,
int pivotCount,
boolean pivotDistsValidIfGiven)
Creates a new instance of SequantialScan access structure with specific bucket class and filtering pivots. |
|
SequentialScan(java.lang.Class<? extends LocalBucket> bucketClass,
java.util.Map<java.lang.String,java.lang.Object> bucketClassParams,
AbstractObjectIterator<LocalAbstractObject> pivotIter,
int pivotCount,
boolean pivotDistsValidIfGiven)
Creates a new instance of SequantialScan access structure with specific bucket class and filtering pivots. |
Uses of LocalAbstractObject in messif.buckets |
---|
Methods in messif.buckets that return LocalAbstractObject | |
---|---|
abstract LocalAbstractObject |
Bucket.deleteObject(UniqueID objectID)
Delete object with the specified ID from this bucket. |
LocalAbstractObject |
LocalBucket.deleteObject(UniqueID objectID)
|
abstract LocalAbstractObject |
Bucket.getObject(AbstractObjectKey key)
Retrieve an object with the specified key from this bucket. |
LocalAbstractObject |
LocalBucket.getObject(AbstractObjectKey key)
|
abstract LocalAbstractObject |
Bucket.getObject(java.lang.String locator)
Retrieve an object with the specified locator from this bucket. |
LocalAbstractObject |
LocalBucket.getObject(java.lang.String locator)
|
abstract LocalAbstractObject |
Bucket.getObject(UniqueID objectID)
Retrieves an object with the specified ID from this bucket. |
LocalAbstractObject |
LocalBucket.getObject(UniqueID objectID)
|
Methods in messif.buckets that return types with arguments of type LocalAbstractObject | |
---|---|
AbstractObjectList<LocalAbstractObject> |
Bucket.deleteObjects(java.util.Collection<? extends UniqueID> objectIDs,
boolean removeDeletedIDs)
Delete multiple objects with specified IDs. |
abstract AbstractObjectIterator<LocalAbstractObject> |
Bucket.getAllObjects()
Returns iterator over all objects from this bucket. |
AbstractObjectIterator<LocalAbstractObject> |
LocalBucket.getAllObjects()
|
Index<LocalAbstractObject> |
LocalBucket.getIndex()
Returns the index defined on this bucket that can be used for searching. |
OrderedIndex<C,LocalAbstractObject> |
OrderedLocalBucket.getIndex()
|
protected abstract ModifiableIndex<LocalAbstractObject> |
LocalBucket.getModifiableIndex()
Returns the index (including storage) for this bucket. |
protected abstract ModifiableOrderedIndex<C,LocalAbstractObject> |
OrderedLocalBucket.getModifiableIndex()
|
AbstractObjectIterator<LocalAbstractObject> |
Bucket.provideObjects()
The iterator for provided objects for ObjectProvider interface. |
Methods in messif.buckets with parameters of type LocalAbstractObject | |
---|---|
abstract void |
Bucket.addObject(LocalAbstractObject object)
Insert a new object into this bucket. |
void |
LocalBucket.addObject(LocalAbstractObject object)
|
protected void |
LocalBucket.addObject(LocalAbstractObject object,
Addible<LocalAbstractObject> addible)
Check if the object object can added to this bucket. |
BucketErrorCode |
Bucket.addObjectErrCode(LocalAbstractObject object)
Insert a new object into this bucket and returns error code instead of exception. |
BucketErrorCode |
LocalBucket.addObjectErrCode(LocalAbstractObject object)
|
int |
Bucket.deleteObject(LocalAbstractObject object)
Delete all objects from this bucket that are data-equals to
the specified object. |
abstract int |
Bucket.deleteObject(LocalAbstractObject object,
int deleteLimit)
Delete all objects from this bucket that are data-equals to
the specified object. |
int |
LocalBucket.deleteObject(LocalAbstractObject object,
int deleteLimit)
|
void |
BucketFilterAfterAdd.filterAfterAdd(LocalAbstractObject object,
LocalBucket bucket)
Filter object after its insertion into a bucket. |
void |
BucketFilterAfterRemove.filterAfterRemove(LocalAbstractObject object,
LocalBucket bucket)
Filter object after its removal from a bucket. |
void |
BucketFilterBeforeAdd.filterBeforeAdd(LocalAbstractObject object,
LocalBucket bucket)
Filter object before its insertion into a bucket. |
void |
BucketFilterBeforeRemove.filterBeforeRemove(LocalAbstractObject object,
LocalBucket bucket)
Filter object before its removal from a bucket. |
Method parameters in messif.buckets with type arguments of type LocalAbstractObject | |
---|---|
protected void |
LocalBucket.addObject(LocalAbstractObject object,
Addible<LocalAbstractObject> addible)
Check if the object object can added to this bucket. |
int |
Bucket.addObjects(java.util.Collection<? extends LocalAbstractObject> objects)
Insert several new objects into this bucket. |
int |
Bucket.addObjects(java.util.Iterator<? extends LocalAbstractObject> objects)
Insert several new objects to this bucket. |
protected void |
LocalBucket.deleteObject(Removable<LocalAbstractObject> removable)
Check if the object can be deleted from this bucket. |
Uses of LocalAbstractObject in messif.buckets.impl |
---|
Fields in messif.buckets.impl with type parameters of type LocalAbstractObject | |
---|---|
protected ModifiableIndex<LocalAbstractObject> |
DiskBlockBucket.objects
Object storage |
protected ModifiableOrderedIndex<AbstractObjectKey,LocalAbstractObject> |
DiskBlockObjectKeyBucket.objects
Object storage |
protected ModifiableOrderedIndex<AbstractObjectKey,LocalAbstractObject> |
DiskBlockObjectKeyMemoryBucket.objects
Object storage |
protected ModifiableIndex<LocalAbstractObject> |
MemoryStorageBucket.objects
Object storage |
protected ModifiableOrderedIndex<UniqueID,LocalAbstractObject> |
MemoryStorageIDBucket.objects
Object storage with object-id index |
protected ModifiableOrderedIndex<java.lang.String,LocalAbstractObject> |
MemoryStorageLocatorBucket.objects
Object storage with object-id index |
protected ModifiableOrderedIndex<LocalAbstractObject,LocalAbstractObject> |
MemoryStorageNoDupsBucket.objects
Object storage with object-id index |
protected ModifiableOrderedIndex<LocalAbstractObject,LocalAbstractObject> |
MemoryStorageNoDupsBucket.objects
Object storage with object-id index |
protected ModifiableOrderedIndex<AbstractObjectKey,LocalAbstractObject> |
MemoryStorageObjectKeyBucket.objects
Object storage with object-id index |
Methods in messif.buckets.impl with parameters of type LocalAbstractObject | |
---|---|
boolean |
AlgorithmStorageBucket.add(LocalAbstractObject object)
Stores the specified object in the encapsulated algorithm, i.e. |
int |
AlgorithmStorageBucket.deleteObject(LocalAbstractObject object,
int deleteLimit)
Removes the given object by calling DeleteOperation on the
encapsulated algorithm. |
Method parameters in messif.buckets.impl with type arguments of type LocalAbstractObject | ||
---|---|---|
int |
AlgorithmStorageBucket.addObjects(java.util.Collection<? extends LocalAbstractObject> objects)
|
|
int |
AlgorithmStorageBucket.addObjects(java.util.Iterator<? extends LocalAbstractObject> objects)
|
|
static
|
VirtualStorageBucket.getBucket(long capacity,
long softCapacity,
long lowOccupation,
boolean occupationAsBytes,
Storage<LocalAbstractObject> storage,
IndexComparator<T,LocalAbstractObject> comparator)
Creates a bucket for the given storage and comparator. |
|
static
|
VirtualStorageBucket.getBucket(long capacity,
long softCapacity,
long lowOccupation,
boolean occupationAsBytes,
Storage<LocalAbstractObject> storage,
IndexComparator<T,LocalAbstractObject> comparator)
Creates a bucket for the given storage and comparator. |
|
|
AlgorithmStorageBucket.search(IndexComparator<? super C,? super LocalAbstractObject> comparator,
C key)
|
|
|
AlgorithmStorageBucket.search(IndexComparator<? super C,? super LocalAbstractObject> comparator,
C from,
C to)
|
|
|
AlgorithmStorageBucket.search(IndexComparator<? super C,? super LocalAbstractObject> comparator,
java.util.Collection<? extends C> keys)
|
Constructor parameters in messif.buckets.impl with type arguments of type LocalAbstractObject | |
---|---|
VirtualStorageBucket(long capacity,
long softCapacity,
long lowOccupation,
boolean occupationAsBytes,
ModifiableOrderedIndex<C,LocalAbstractObject> index)
Constructs a new MemoryStorageBucket instance |
Uses of LocalAbstractObject in messif.buckets.index |
---|
Classes in messif.buckets.index with type parameters of type LocalAbstractObject | |
---|---|
class |
SearchAbstractObjectDualIterator<T extends LocalAbstractObject>
Provides a bridge between Search and AbstractObjectIterator . |
class |
SearchAbstractObjectIterator<T extends LocalAbstractObject>
Provides a bridge between Search and AbstractObjectIterator . |
Fields in messif.buckets.index with type parameters of type LocalAbstractObject | |
---|---|
static IndexComparator<AbstractObjectKey,LocalAbstractObject> |
LocalAbstractObjectOrder.keyToLocalObjectComparator
Index order defined by object keys |
Methods in messif.buckets.index with type parameters of type LocalAbstractObject | ||
---|---|---|
static
|
LocalAbstractObjectOrder.searchIndexByKey(Index<T> index,
AbstractObjectKey key)
Search the specified index for the object with given key. |
|
static
|
LocalAbstractObjectOrder.searchIndexByLocator(Index<T> index,
java.lang.String locator)
Search the specified index for the object with given locator. |
|
static
|
LocalAbstractObjectOrder.searchIndexByObjectID(Index<T> index,
UniqueID objectID)
Search the specified index for the object with given ID. |
Methods in messif.buckets.index that return LocalAbstractObject | |
---|---|
LocalAbstractObject |
LocalAbstractObjectOrder.extractKey(LocalAbstractObject object)
|
Methods in messif.buckets.index with parameters of type LocalAbstractObject | |
---|---|
int |
LocalAbstractObjectOrder.compare(LocalAbstractObject o1,
LocalAbstractObject o2)
|
LocalAbstractObject |
LocalAbstractObjectOrder.extractKey(LocalAbstractObject object)
|
int |
LocalAbstractObjectOrder.indexCompare(LocalAbstractObject o1,
LocalAbstractObject o2)
|
Uses of LocalAbstractObject in messif.buckets.split |
---|
Subclasses of LocalAbstractObject in messif.buckets.split | |
---|---|
class |
BucketBallRegion
|
Methods in messif.buckets.split with parameters of type LocalAbstractObject | |
---|---|
void |
BucketBallRegion.filterAfterAdd(LocalAbstractObject object,
LocalBucket bucket)
Adjust this ball region whenever an object is inserted into a bucket. |
void |
BucketBallRegion.filterAfterRemove(LocalAbstractObject object,
LocalBucket bucket)
|
void |
SplittableAlgorithm.SplittableAlgorithmResult.markMovedObject(Algorithm algorithm,
LocalAbstractObject object)
Registers a move of one object into the result. |
abstract int |
SplitPolicy.match(LocalAbstractObject object)
Returns the group (partition) to which a given object belongs. |
void |
BucketBallRegion.setPivot(LocalAbstractObject pivot,
boolean updateRadius)
Sets the pivot for this ball region. |
Method parameters in messif.buckets.split with type arguments of type LocalAbstractObject | |
---|---|
void |
SplittableAlgorithm.SplittableAlgorithmResult.markMovedObjects(Algorithm algorithm,
java.util.Collection<? extends LocalAbstractObject> objects)
Registers a move of objects into the result. |
Constructors in messif.buckets.split with parameters of type LocalAbstractObject | |
---|---|
BucketBallRegion(LocalBucket bucket,
boolean registerAsFilter,
LocalAbstractObject pivot)
Creates a new instance of BucketBallRegion. |
|
BucketBallRegion(LocalBucket bucket,
boolean registerAsFilter,
LocalAbstractObject pivot,
float radius)
Creates a new instance of BucketBallRegion with specified pivot and radius. |
Uses of LocalAbstractObject in messif.buckets.split.impl |
---|
Fields in messif.buckets.split.impl declared as LocalAbstractObject | |
---|---|
protected LocalAbstractObject |
SplitPolicyGeneralizedHyperplane.leftPivot
Policy parameter left pivot |
protected LocalAbstractObject |
SplitPolicyBallPartitioning.pivot
Policy parameter pivot |
protected LocalAbstractObject |
SplitPolicyExcludedMiddlePartitioning.pivot
Policy parameter pivot |
protected LocalAbstractObject |
SplitPolicyMultiWayBallPartitioning.pivot
Policy parameter pivot |
protected LocalAbstractObject[] |
SplitPolicyVoronoiPartitioning.pivots
Policy parameter pivot |
protected LocalAbstractObject |
SplitPolicyGeneralizedHyperplane.rightPivot
Policy parameter right pivot |
Methods in messif.buckets.split.impl that return LocalAbstractObject | |
---|---|
LocalAbstractObject |
SplitPolicyGeneralizedHyperplane.getLeftPivot()
Returns the first pivot for generalized hyperplane partitioning. |
LocalAbstractObject |
SplitPolicyBallPartitioning.getPivot()
Returns the pivot for ball partitioning. |
LocalAbstractObject |
SplitPolicyExcludedMiddlePartitioning.getPivot()
Returns the pivot for ball partitioning. |
LocalAbstractObject |
SplitPolicyMultiWayBallPartitioning.getPivot()
Returns the pivot for ball partitioning. |
LocalAbstractObject[] |
SplitPolicyVoronoiPartitioning.getPivots()
Returns the array of pivots used for the Voronoi-like partitioning. |
LocalAbstractObject |
SplitPolicyGeneralizedHyperplane.getRightPivot()
Returns the second pivot for generalized hyperplane partitioning. |
Methods in messif.buckets.split.impl with parameters of type LocalAbstractObject | |
---|---|
int |
SplitPolicyBallPartitioning.match(LocalAbstractObject object)
Returns 1 for objects outside the ball partition defined by this policy and 0 for objects belonging to the partition. |
int |
SplitPolicyExcludedMiddlePartitioning.match(LocalAbstractObject object)
Returns 1 for objects outside the ball partition defined by this policy and 0 for objects belonging to the partition. |
int |
SplitPolicyGeneralizedHyperplane.match(LocalAbstractObject object)
Returns 0 for objects near the left pivot defined by this policy (or exactly in the middle) and 1 for objects near the right pivot. |
int |
SplitPolicyMultiWayBallPartitioning.match(LocalAbstractObject object)
Returns the index of partition to which the object belongs. |
int |
SplitPolicyVoronoiPartitioning.match(LocalAbstractObject object)
Returns the index of partition to which the object belongs. |
void |
SplitPolicyGeneralizedHyperplane.setLeftPivot(LocalAbstractObject leftPivot)
Sets the first pivot for generalized hyperplane partitioning. |
void |
SplitPolicyBallPartitioning.setPivot(LocalAbstractObject pivot)
Sets the pivot for ball partitioning. |
void |
SplitPolicyExcludedMiddlePartitioning.setPivot(LocalAbstractObject pivot)
Sets the pivot for ball partitioning. |
void |
SplitPolicyMultiWayBallPartitioning.setPivot(LocalAbstractObject pivot)
Sets the pivot for ball partitioning. |
void |
SplitPolicyVoronoiPartitioning.setPivots(LocalAbstractObject[] pivots)
Sets the pivots for Voronoi-like partitioning. |
void |
SplitPolicyGeneralizedHyperplane.setRightPivot(LocalAbstractObject rightPivot)
Sets the second pivot for generalized hyperplane partitioning. |
Uses of LocalAbstractObject in messif.buckets.storage.impl |
---|
Fields in messif.buckets.storage.impl with type parameters of type LocalAbstractObject | |
---|---|
static DatabaseStorage.ColumnConvertor<LocalAbstractObject> |
DatabaseStorage.locatorColumnConvertor
Column convertor that stores/restores a locator URI
of LocalAbstractObject s stored in the database. |
Uses of LocalAbstractObject in messif.objects |
---|
Subclasses of LocalAbstractObject in messif.objects | |
---|---|
class |
BallRegion
This class represents a ball region, i.e. a partition of the metric space that holds objects that are within a specified radius from the central object (pivot). |
class |
LocalAbstractObjectAutoImpl
This class eases the task of implementing data read/write methods. |
class |
MetaObject
Represents a collection of LocalAbstractObjects encapsulated as one object. |
Fields in messif.objects declared as LocalAbstractObject | |
---|---|
protected LocalAbstractObject |
LocalAbstractObject.DataEqualObject.object
Encapsulated object |
protected LocalAbstractObject |
BallRegion.pivot
Center of the ball region |
Fields in messif.objects with type parameters of type LocalAbstractObject | |
---|---|
protected java.util.Map<LocalAbstractObject,java.lang.Float> |
PrecomputedDistancesPivotMapFilter.precompDistMapping
The hash table of precomputed distances |
Methods in messif.objects with type parameters of type LocalAbstractObject | ||
---|---|---|
static
|
LocalAbstractObject.create(java.lang.Class<E> objectClass,
java.lang.String objectData)
Creates a new LocalAbstractObject of the specified type from string. |
|
static
|
LocalAbstractObject.create(java.lang.Class<T> objectClass,
java.io.BufferedReader dataReader)
Creates a new instance of objectClass from the dataReader . |
Methods in messif.objects that return LocalAbstractObject | |
---|---|
LocalAbstractObject |
LocalAbstractObject.clone()
Creates and returns a copy of this object. |
LocalAbstractObject |
LocalAbstractObject.clone(boolean cloneFilterChain)
Creates and returns a copy of this object. |
LocalAbstractObject |
BallRegion.cloneRandomlyModify(java.lang.Object... args)
Random copy of ball region is not implemented, thus this method always throws an exception. |
LocalAbstractObject |
LocalAbstractObject.cloneRandomlyModify(java.lang.Object... args)
Creates and returns a randomly modified copy of this object. |
LocalAbstractObject |
LocalAbstractObjectAutoImpl.cloneRandomlyModify(java.lang.Object... args)
Creates and returns a randomly modified copy of this object. |
LocalAbstractObject |
LocalAbstractObject.DataEqualObject.get()
Returns the encapsulated object. |
abstract LocalAbstractObject |
MetaObject.getObject(java.lang.String name)
Returns the encapsulated object for given symbolic name. |
LocalAbstractObject |
BallRegion.getPivot()
Returns current pivot of this ball region. |
protected LocalAbstractObject |
MetaObject.readObject(java.io.BufferedReader stream,
java.lang.String className)
Reads one object with the specified class name from the stream. |
Methods in messif.objects that return types with arguments of type LocalAbstractObject | |
---|---|
java.util.Map<java.lang.String,LocalAbstractObject> |
MetaObject.getObjectMap()
Returns a collection of all the encapsulated objects associated with their symbolic names. |
java.util.Collection<LocalAbstractObject> |
MetaObject.getObjects()
Returns a collection of all the encapsulated objects. |
java.util.Set<LocalAbstractObject> |
PrecomputedDistancesPivotMapFilter.getPrecompObjects()
Return all objects to which this object has precomputed distances. |
Methods in messif.objects with parameters of type LocalAbstractObject | |
---|---|
int |
PrecomputedDistancesFixedArrayFilter.addPrecompDist(AbstractObjectList<LocalAbstractObject> pivots,
LocalAbstractObject obj)
Add distances at the end of internal list of precomputed distances. |
int |
PrecomputedDistancesFixedArrayFilter.addPrecompDist(LocalAbstractObject[] pivots,
LocalAbstractObject obj)
Add distances at the end of internal list of precomputed distances. |
int |
PrecomputedDistancesFixedArrayFilter.addPrecompDist(LocalAbstractObject[] pivots,
LocalAbstractObject obj)
Add distances at the end of internal list of precomputed distances. |
float |
PrecomputedDistancesFixedArrayFilter.addPrecompDist(LocalAbstractObject p,
LocalAbstractObject o)
Add distance at the end of internal list of precomputed distances. |
boolean |
LocalAbstractObject.excludeUsingPrecompDist(LocalAbstractObject obj,
float radius)
Returns true if the obj has been excluded (filtered out) using stored precomputed distance. |
float |
LocalAbstractObject.getDistance(LocalAbstractObject obj)
Metric distance function. |
float |
LocalAbstractObject.getDistance(LocalAbstractObject obj,
float distThreshold)
Metric distance function. |
float |
LocalAbstractObject.getDistance(LocalAbstractObject obj,
float[] metaDistances,
float distThreshold)
Metric distance function. |
protected float |
BallRegion.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
Metric distance function that measures the distance of an arbitrary object to this region. |
protected abstract float |
LocalAbstractObject.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
The actual implementation of the metric function (see getDistance(messif.objects.LocalAbstractObject) for full explanation). |
protected float |
MetaObject.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
The actual implementation of the metric function. |
protected abstract float |
MetaObject.getDistanceImpl(LocalAbstractObject obj,
float[] metaDistances,
float distThreshold)
The actual implementation of the metric function. |
float |
LocalAbstractObject.getDistanceLowerBound(LocalAbstractObject obj,
int accuracy)
Returns the lower bound of a metric distance. |
protected float |
LocalAbstractObject.getDistanceLowerBoundImpl(LocalAbstractObject obj,
int accuracy)
Implementation that actually computes the lower bound on the metric distance. |
float |
BallRegion.getDistanceRegion(LocalAbstractObject regionPivot,
float regionRadius,
float distThreshold)
Metric distance function between two ball regions. |
float |
LocalAbstractObject.getDistanceUpperBound(LocalAbstractObject obj,
int accuracy)
Returns the upper bound of a metric distance. |
protected float |
LocalAbstractObject.getDistanceUpperBoundImpl(LocalAbstractObject obj,
int accuracy)
Implementation that actually computes the upper bound on the metric distance. |
float |
LocalAbstractObject.getNormDistance(LocalAbstractObject obj,
float distThreshold)
Normalized metric distance function, i.e. the result of getDistance(messif.objects.LocalAbstractObject)
divided by getMaxDistance() . |
float |
BallRegion.getOverlapWith(LocalAbstractObject regionPivot,
float regionRadius)
Returns the covering overlap (as distance) between this region and the region specified by regionPivot and regionRadius . |
float |
PrecomputedDistancesFilter.getPrecomputedDistance(LocalAbstractObject obj)
Returns the precomputed distance to an object. |
protected abstract float |
PrecomputedDistancesFilter.getPrecomputedDistanceImpl(LocalAbstractObject obj)
Implement this method to return the precomputed distance to an object. |
protected float |
PrecomputedDistancesFixedArrayFilter.getPrecomputedDistanceImpl(LocalAbstractObject obj)
|
protected float |
PrecomputedDistancesPivotMapFilter.getPrecomputedDistanceImpl(LocalAbstractObject obj)
|
boolean |
LocalAbstractObject.includeUsingPrecompDist(LocalAbstractObject obj,
float radius)
Returns true if the obj has been included using stored precomputed distance. |
float |
PrecomputedDistancesFixedArrayFilter.insertPrecompDist(int pos,
LocalAbstractObject p,
LocalAbstractObject o)
Insert distance into internal list of precomputed distances at the specified position. |
boolean |
BallRegion.isCoveredByRegion(LocalAbstractObject regionPivot,
float regionRadius,
float distThreshold)
Returns true if this ball region is covered by at least distThreshold area of the ball
region specified by regionPivot and regionRadius . |
boolean |
BallRegion.isCoveringRegion(LocalAbstractObject regionPivot,
float regionRadius,
float distThreshold)
Returns true if this ball region covers at least distThreshold area of the ball
region specified by regionPivot and regionRadius . |
static void |
LocalAbstractObjectAutoImpl.readAttributesFromStream(java.lang.String line,
char attributesSeparator,
char arrayItemsSeparator,
LocalAbstractObject dataObject,
java.lang.reflect.Field... dataFields)
Helper method for reading object primitive/array attributes from a text stream. |
boolean |
PrecomputedDistancesPivotMapFilter.resetPrecompDist(LocalAbstractObject obj)
Resets the precomputed distance to given object (pivot). |
void |
BallRegion.setPivot(LocalAbstractObject pivot,
boolean updateRadius)
Sets the pivot for this ball region. |
float |
PrecomputedDistancesFixedArrayFilter.setPrecompDist(int pos,
LocalAbstractObject p,
LocalAbstractObject o)
Set distance at the end of internal list of precomputed distances. |
boolean |
PrecomputedDistancesPivotMapFilter.setPrecompDist(LocalAbstractObject obj,
float dist)
Associates a precomputed distance to an object with this object Function appends the new distance 'dist' from the object 'obj' or replaces the old value of distance. |
static void |
LocalAbstractObjectAutoImpl.writeAttributesToStream(java.io.OutputStream stream,
char attributesSeparator,
char arrayItemsSeparator,
LocalAbstractObject dataObject,
java.lang.reflect.Field... dataFields)
Helper method for writing object primitive/array attributes to a text stream. |
Method parameters in messif.objects with type arguments of type LocalAbstractObject | |
---|---|
int |
PrecomputedDistancesFixedArrayFilter.addPrecompDist(AbstractObjectList<LocalAbstractObject> pivots,
LocalAbstractObject obj)
Add distances at the end of internal list of precomputed distances. |
protected static java.lang.reflect.Field[] |
LocalAbstractObjectAutoImpl.getFieldsForNames(java.lang.Class<? extends LocalAbstractObject> forClass,
java.lang.String... fieldName)
Returns a list of fields of the specified class that match the provided names. |
Constructors in messif.objects with parameters of type LocalAbstractObject | |
---|---|
BallRegion(LocalAbstractObject pivot,
float radius)
Creates a new instance of BallRegion with specified pivot and radius |
|
LocalAbstractObject.DataEqualObject(LocalAbstractObject object)
Creates a new instance of DataEqualObject wrapper over the specified LocalAbstractObject. |
|
PrecomputedDistancesFixedArrayFilter(LocalAbstractObject object)
Creates a new instance of PrecomputedDistancesFixedArrayFilter. |
|
PrecomputedDistancesFixedArrayFilter(LocalAbstractObject object,
int initialSize)
Creates a new instance of PrecomputedDistancesFixedArrayFilter |
|
PrecomputedDistancesPivotMapFilter(LocalAbstractObject object)
Creates a new instance of PrecomputedDistancesPivotMapFilter |
Uses of LocalAbstractObject in messif.objects.extraction |
---|
Classes in messif.objects.extraction with type parameters of type LocalAbstractObject | |
---|---|
interface |
Extractor<T extends LocalAbstractObject>
Interface for extractors that can create objects
from binary data. |
class |
ExtractorIterator<T extends LocalAbstractObject>
Iterator that provides objects by Extractor . |
Methods in messif.objects.extraction with type parameters of type LocalAbstractObject | ||
---|---|---|
static
|
Extractors.cast(java.lang.Object extractorInstance,
java.lang.Class<? extends T> extractedClass)
Returns a type-safe cast of a given extractor instance. |
|
static
|
Extractors.createExternalExtractor(java.lang.Class<? extends T> objectClass,
java.lang.String command)
Creates an extractor that creates objects from binary data by external command. |
|
static
|
Extractors.createExternalExtractor(java.lang.Class<? extends T> objectClass,
java.lang.String command,
boolean fileAsArgument)
Creates an extractor that creates objects from binary data by external command. |
|
static
|
Extractors.createTextExtractor(java.lang.Class<? extends T> objectClass,
java.lang.Object... additionalArguments)
Creates an extractor that creates objects from text InputStream using the constructor that takes BufferedReader as argument. |
|
static
|
Extractors.extract(Extractor<? extends T> extractor,
java.io.File file)
Extracts object from the file using the given extractor . |
|
static
|
Extractors.extract(Extractor<? extends T> extractor,
java.net.URL url,
java.lang.String mimeTypeRegexp)
Extracts object downloaded from the url using the given extractor . |
Uses of LocalAbstractObject in messif.objects.impl |
---|
Subclasses of LocalAbstractObject in messif.objects.impl | |
---|---|
class |
MetaObjectMap
Implementation of MetaObject that stores encapsulated objects
in a hash table. |
class |
ObjectByteVector
|
class |
ObjectByteVectorL1
|
class |
ObjectFloatUnitVector
|
class |
ObjectFloatUnitVectorL2
|
class |
ObjectFloatVector
This object uses static array of floats as its data content. |
class |
ObjectFloatVectorL1
|
class |
ObjectFloatVectorL2
|
class |
ObjectIntVector
This object uses static array of integers as its data content. |
class |
ObjectIntVectorL1
|
class |
ObjectIntVectorL2
|
class |
ObjectShortVector
|
class |
ObjectShortVectorL1
|
class |
ObjectShortVectorL2
|
class |
ObjectString
This object uses String as its data content. |
class |
ObjectStringEditDist
Object with string content and edit distance metric function. |
Fields in messif.objects.impl with type parameters of type LocalAbstractObject | |
---|---|
protected java.util.Map<java.lang.String,LocalAbstractObject> |
MetaObjectMap.objects
List of encapsulated objects |
Methods in messif.objects.impl that return LocalAbstractObject | |
---|---|
LocalAbstractObject |
MetaObjectMap.clone(boolean cloneFilterChain)
Creates and returns a copy of this object. |
LocalAbstractObject |
MetaObjectMap.cloneRandomlyModify(java.lang.Object... args)
Creates and returns a randomly modified copy of this object. |
LocalAbstractObject |
ObjectByteVector.cloneRandomlyModify(java.lang.Object... args)
Creates and returns a randomly modified copy of this vector. |
LocalAbstractObject |
ObjectFloatVector.cloneRandomlyModify(java.lang.Object... args)
Creates and returns a randomly modified copy of this vector. |
LocalAbstractObject |
ObjectIntVector.cloneRandomlyModify(java.lang.Object... args)
Creates and returns a randomly modified copy of this vector. |
LocalAbstractObject |
ObjectShortVector.cloneRandomlyModify(java.lang.Object... args)
Creates and returns a randomly modified copy of this vector. |
LocalAbstractObject |
ObjectString.cloneRandomlyModify(java.lang.Object... args)
Creates and returns a randomly modified copy of this string. |
LocalAbstractObject |
MetaObjectMap.getObject(java.lang.String name)
|
Methods in messif.objects.impl that return types with arguments of type LocalAbstractObject | |
---|---|
java.util.Map<java.lang.String,LocalAbstractObject> |
MetaObjectMap.getObjectMap()
Returns a collection of all the encapsulated objects associated with their symbolic names. |
java.util.Collection<LocalAbstractObject> |
MetaObjectMap.getObjects()
|
Methods in messif.objects.impl with parameters of type LocalAbstractObject | |
---|---|
protected float |
ObjectByteVectorL1.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
Metric function Implements city-block distance measure (so-called L1 metric) |
protected float |
ObjectFloatUnitVectorL2.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
Metric function Implements euclidean distance measure (so-called L2 metric) |
protected float |
ObjectFloatVectorL1.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
Metric function Implements city-block distance measure (so-called L1 metric) |
protected float |
ObjectFloatVectorL2.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
Metric function Implements euclidean distance measure (so-called L2 metric) |
protected float |
ObjectIntVectorL1.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
Metric function Implements city-block distance measure (so-called L1 metric) |
protected float |
ObjectIntVectorL2.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
Metric function implements Euclidean (L_2) metric |
protected float |
ObjectShortVectorL1.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
Metric function Implements city-block distance measure (so-called L1 metric) |
protected float |
ObjectShortVectorL2.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
Metric function implements Euclidean (L_2) metric |
protected float |
ObjectStringEditDist.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
|
protected float |
MetaObjectMap.getDistanceImpl(LocalAbstractObject obj,
float[] metaDistances,
float distThreshold)
The actual implementation of the metric function. |
protected float |
ObjectStringEditDist.getDistanceLowerBoundImpl(LocalAbstractObject obj,
int accuracy)
|
protected float |
ObjectStringEditDist.getDistanceUpperBoundImpl(LocalAbstractObject obj,
int accuracy)
|
Constructor parameters in messif.objects.impl with type arguments of type LocalAbstractObject | |
---|---|
MetaObjectMap(java.lang.String locatorURI,
java.util.Map<java.lang.String,LocalAbstractObject> objects)
Creates a new instance of MetaObjectMap from a collection of named objects. |
|
MetaObjectMap(java.lang.String locatorURI,
java.util.Map<java.lang.String,LocalAbstractObject> objects,
boolean cloneObjects)
Creates a new instance of MetaObjectMap from a collection of named objects. |
Uses of LocalAbstractObject in messif.objects.util |
---|
Classes in messif.objects.util with type parameters of type LocalAbstractObject | |
---|---|
class |
AbstractStreamObjectIterator<E extends LocalAbstractObject>
This class represents an iterator on LocalAbstractObject s that are read from a file. |
class |
StreamGenericAbstractObjectIterator<E extends LocalAbstractObject>
This class represents an iterator on LocalAbstractObject s that are read from a file. |
Fields in messif.objects.util declared as LocalAbstractObject | |
---|---|
protected E |
StreamGenericAbstractObjectIterator.currentObject
Instance of the current object |
protected E |
StreamGenericAbstractObjectIterator.nextObject
Instance of a next object. |
Methods in messif.objects.util with type parameters of type LocalAbstractObject | ||
---|---|---|
|
StreamsMetaObjectMapIterator.addObjectStream(java.lang.String name,
java.lang.Class<? extends T> objClass,
java.lang.String fileName)
Add new object iterator given a name to be generated for this object in the MetaObjectMap. |
Methods in messif.objects.util with parameters of type LocalAbstractObject | |
---|---|
E |
AbstractObjectIterator.getObjectByData(LocalAbstractObject object)
Returns the first instance of object, that has data equal to the provided object. |
Method parameters in messif.objects.util with type arguments of type LocalAbstractObject | |
---|---|
void |
StreamsMetaObjectMapIterator.addObjectStream(java.lang.String name,
StreamGenericAbstractObjectIterator<? extends LocalAbstractObject> iterator)
Add new object iterator given a name to be generated for this object in the MetaObjectMap. |
Constructors in messif.objects.util with parameters of type LocalAbstractObject | |
---|---|
RankedAbstractObject(LocalAbstractObject referenceObject,
LocalAbstractObject object)
Creates a new instance of RankedAbstractObject by measuring an object's distance from the reference object. |
|
RankedSortedCollection(LocalAbstractObject referenceObject,
java.util.Iterator<? extends LocalAbstractObject> iterator)
Creates a new collection filled with objects provided by the iterator . |
|
RankedSortedCollection(LocalAbstractObject referenceObject,
ObjectProvider<? extends LocalAbstractObject> objectProvider)
Creates a new collection filled with objects provided by the objectProvider . |
Constructor parameters in messif.objects.util with type arguments of type LocalAbstractObject | |
---|---|
RankedSortedCollection(LocalAbstractObject referenceObject,
java.util.Iterator<? extends LocalAbstractObject> iterator)
Creates a new collection filled with objects provided by the iterator . |
|
RankedSortedCollection(LocalAbstractObject referenceObject,
ObjectProvider<? extends LocalAbstractObject> objectProvider)
Creates a new collection filled with objects provided by the objectProvider . |
Uses of LocalAbstractObject in messif.operations |
---|
Methods in messif.operations with parameters of type LocalAbstractObject | |
---|---|
RankedAbstractObject |
RankingQueryOperation.addToAnswer(LocalAbstractObject queryObject,
LocalAbstractObject object,
float distThreshold)
Add an object to the answer. |
Method parameters in messif.operations with type arguments of type LocalAbstractObject | |
---|---|
abstract int |
QueryOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects)
Evaluate this query on a given set of objects. |
Uses of LocalAbstractObject in messif.operations.data |
---|
Fields in messif.operations.data declared as LocalAbstractObject | |
---|---|
protected LocalAbstractObject |
InsertOperation.insertedObject
Inserted object |
Methods in messif.operations.data that return LocalAbstractObject | |
---|---|
LocalAbstractObject |
DeleteOperation.getDeletedObject()
Returns the object against which to match the deleted objects. |
LocalAbstractObject |
InsertOperation.getInsertedObject()
Returns the object being inserted. |
Methods in messif.operations.data that return types with arguments of type LocalAbstractObject | |
---|---|
AbstractObjectList<? extends LocalAbstractObject> |
BulkInsertOperation.getInsertedObjects()
Returns the list of objects to insert. |
java.util.List<LocalAbstractObject> |
DeleteByLocatorOperation.getObjects()
Returns the list of all actually deleted objects. |
java.util.List<LocalAbstractObject> |
DeleteOperation.getObjects()
Returns the list of all actually deleted objects. |
Methods in messif.operations.data with parameters of type LocalAbstractObject | |
---|---|
void |
DeleteByLocatorOperation.addDeletedObject(LocalAbstractObject deletedObject)
Mark the specified object as deleted by this operation. |
void |
DeleteOperation.addDeletedObject(LocalAbstractObject deletedObject)
Mark the specified object as deleted by this operation. |
Constructors in messif.operations.data with parameters of type LocalAbstractObject | |
---|---|
DeleteOperation(LocalAbstractObject deletedObject)
Creates a new instance of DeleteOperation. |
|
DeleteOperation(LocalAbstractObject deletedObject,
int deleteLimit)
Creates a new instance of DeleteOperation. |
|
DeleteOperation(LocalAbstractObject deletedObject,
int deleteLimit,
boolean checkLocator)
Creates a new instance of DeleteOperation. |
|
InsertOperation(LocalAbstractObject insertedObject)
Creates a new instance of InsertOperation. |
Constructor parameters in messif.operations.data with type arguments of type LocalAbstractObject | |
---|---|
BulkInsertOperation(AbstractObjectList<? extends LocalAbstractObject> insertedObjects)
Creates a new instance of BulkInsertOperation. |
|
BulkInsertOperation(AbstractStreamObjectIterator<LocalAbstractObject> stream,
int count)
Creates a new instance of BulkInsertOperation. |
|
BulkInsertOperation(java.util.Collection<? extends LocalAbstractObject> insertedObjects)
Creates a new instance of BulkInsertOperation. |
|
BulkInsertOperation(java.util.Iterator<? extends LocalAbstractObject> insertedObjects)
Creates a new instance of BulkInsertOperation. |
Uses of LocalAbstractObject in messif.operations.query |
---|
Fields in messif.operations.query declared as LocalAbstractObject | |
---|---|
protected LocalAbstractObject |
IncrementalNNQueryOperation.queryObject
kNN query object |
protected LocalAbstractObject |
KNNQueryOperation.queryObject
Query object |
protected LocalAbstractObject |
RangeQueryOperation.queryObject
Range query object |
protected LocalAbstractObject |
GetObjectsByLocatorsOperation.queryObjectForDistances
The object to compute distances to; if null, UNKNOWN_DISTANCE will be used in answer |
Methods in messif.operations.query that return LocalAbstractObject | |
---|---|
LocalAbstractObject |
GetObjectsByLocatorsOperation.getQueryObject()
Returns the object the distance to which is used for the answer rank. |
LocalAbstractObject |
IncrementalNNQueryOperation.getQueryObject()
Returns the kNN query object. |
LocalAbstractObject |
KNNQueryOperation.getQueryObject()
Returns the query object of this k-NN query. |
LocalAbstractObject |
RangeQueryOperation.getQueryObject()
Returns the query object of this range query. |
LocalAbstractObject[] |
KNNMultiQueryOperation.getQueryObjects()
Returns the query objects of this operation. |
Methods in messif.operations.query with parameters of type LocalAbstractObject | |
---|---|
RankedAbstractObject |
IncrementalNNQueryOperation.addToAnswer(LocalAbstractObject queryObject,
LocalAbstractObject object,
float distThreshold)
|
Method parameters in messif.operations.query with type arguments of type LocalAbstractObject | |
---|---|
int |
AggregationFunctionQueryOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects)
Evaluate this query on a given set of objects. |
int |
GetAllObjectsQueryOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects)
Evaluate this query on a given set of objects. |
int |
GetObjectByLocatorOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects)
Evaluate this query on a given set of objects. |
int |
GetObjectQueryOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects)
Evaluate this query on a given set of objects. |
int |
GetObjectsByLocatorsOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects)
Evaluate this query on a given set of objects. |
int |
GetRandomObjectQueryOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects)
|
int |
GetRandomObjectsQueryOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects)
|
int |
IncrementalNNQueryOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects)
Evaluate this query on a given set of objects. |
int |
KNNMultiQueryOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects)
Evaluate this query on a given set of objects. |
int |
KNNQueryOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects)
Evaluate this query on a given set of objects. |
int |
RangeQueryOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects)
Evaluate this query on a given set of objects. |
Constructors in messif.operations.query with parameters of type LocalAbstractObject | |
---|---|
AggregationFunctionQueryOperation(LocalAbstractObject queryObject,
int k,
AggregationFunction aggregationFunction)
Creates a new instance of AggregationFunctionQueryOperation. |
|
AggregationFunctionQueryOperation(LocalAbstractObject queryObject,
int k,
AggregationFunction aggregationFunction,
AnswerType answerType,
boolean storeMetaDistances)
Creates a new instance of AggregationFunctionQueryOperation. |
|
ApproxKNNQueryOperation(LocalAbstractObject queryObject,
int k)
Creates a new instance of ApproxkNNQueryOperation for a given query object and maximal number of objects to return. |
|
ApproxKNNQueryOperation(LocalAbstractObject queryObject,
int k,
AnswerType answerType)
Creates a new instance of ApproxkNNQueryOperation for a given query object and maximal number of objects to return. |
|
ApproxKNNQueryOperation(LocalAbstractObject queryObject,
int k,
AnswerType answerType,
int localSearchParam,
ApproxKNNQueryOperation.LocalSearchType localSearchType,
float radiusGuaranteed)
Creates a new instance of ApproxKNNQueryOperation for a given query object, maximal number of objects to return and parameters that control the approximation. |
|
ApproxKNNQueryOperation(LocalAbstractObject queryObject,
int k,
boolean storeMetaDistances,
AnswerType answerType,
int localSearchParam,
ApproxKNNQueryOperation.LocalSearchType localSearchType,
float radiusGuaranteed)
Creates a new instance of ApproxKNNQueryOperation for a given query object, maximal number of objects to return and parameters that control the approximation. |
|
ApproxKNNQueryOperation(LocalAbstractObject queryObject,
int k,
int localSearchParam,
ApproxKNNQueryOperation.LocalSearchType localSearchType,
float radiusGuaranteed)
Creates a new instance of ApproxKNNQueryOperation for a given query object, maximal number of objects to return and parameters that control the approximation. |
|
ApproxRangeQueryOperation(LocalAbstractObject queryObject,
float r)
Creates a new instance of ApproxRangeQueryOperation for a given query object and maximal number of objects to return. |
|
ApproxRangeQueryOperation(LocalAbstractObject queryObject,
float r,
AnswerType answerType)
Creates a new instance of ApproxRangeQueryOperation for a given query object and radius. |
|
ApproxRangeQueryOperation(LocalAbstractObject queryObject,
float r,
AnswerType answerType,
int localSearchParam,
ApproxRangeQueryOperation.LocalSearchType localSearchType,
float radiusGuaranteed)
Creates a new instance of ApproxRangeQueryOperation for a given query object, radius and parameters that control the approximation. |
|
ApproxRangeQueryOperation(LocalAbstractObject queryObject,
float r,
int localSearchParam,
ApproxRangeQueryOperation.LocalSearchType localSearchType,
float radiusGuaranteed)
Creates a new instance of ApproxRangeQueryOperation for a given query object, radius and parameters that control the approximation. |
|
GetObjectsByLocatorsOperation(java.util.Collection<java.lang.String> locators,
LocalAbstractObject queryObjectForDistances)
Create a new instance of GetObjectsByLocatorsOperation with the specified locators. |
|
GetObjectsByLocatorsOperation(java.util.Collection<java.lang.String> locators,
LocalAbstractObject queryObjectForDistances,
AnswerType answerType)
Create a new instance of GetObjectsByLocatorsOperation with the specified locators. |
|
GetObjectsByLocatorsOperation(java.util.Collection<java.lang.String> locators,
LocalAbstractObject queryObjectForDistances,
AnswerType answerType,
int maxAnswerSize)
Create a new instance of GetObjectsByLocatorsOperation with the specified locators. |
|
GetObjectsByLocatorsOperation(LocalAbstractObject queryObjectForDistances,
AnswerType answerType)
Create a new instance of GetObjectsByLocatorsOperation with empty locators set. |
|
GetObjectsByLocatorsOperation(LocalAbstractObject queryObjectForDistances,
AnswerType answerType,
int maxAnswerCount)
Create a new instance of GetObjectsByLocatorsOperation with empty locators set. |
|
GetObjectsByLocatorsOperation(LocalAbstractObject queryObjectForDistances,
int maxAnswerCount)
Create a new instance of GetObjectsByLocatorsOperation with empty locators set. |
|
IncrementalNNQueryOperation(LocalAbstractObject queryObject)
Creates a new instance of IncrementalNNQueryOperation. |
|
IncrementalNNQueryOperation(LocalAbstractObject queryObject,
int minNN)
Creates a new instance of IncrementalNNQueryOperation. |
|
IncrementalNNQueryOperation(LocalAbstractObject queryObject,
int minNN,
AnswerType answerType)
Creates a new instance of IncrementalNNQueryOperation. |
|
KNNQueryOperation(LocalAbstractObject queryObject,
int k)
Creates a new instance of kNNQueryOperation for a given query object and maximal number of objects to return. |
|
KNNQueryOperation(LocalAbstractObject queryObject,
int k,
AnswerType answerType)
Creates a new instance of kNNQueryOperation for a given query object and maximal number of objects to return. |
|
KNNQueryOperation(LocalAbstractObject queryObject,
int k,
boolean storeMetaDistances,
AnswerType answerType)
Creates a new instance of kNNQueryOperation for a given query object and maximal number of objects to return. |
|
RangeQueryOperation(LocalAbstractObject queryObject,
float radius)
Creates a new instance of RangeQueryOperation for a given query object and radius. |
|
RangeQueryOperation(LocalAbstractObject queryObject,
float radius,
AnswerType answerType)
Creates a new instance of RangeQueryOperation for a given query object and radius. |
|
RangeQueryOperation(LocalAbstractObject queryObject,
float radius,
AnswerType answerType,
boolean storeMetaDistances)
Creates a new instance of RangeQueryOperation for a given query object and radius. |
|
RangeQueryOperation(LocalAbstractObject queryObject,
float radius,
AnswerType answerType,
int maxAnswerSize)
Creates a new instance of RangeQueryOperation for a given query object, radius and maximal number of objects to return. |
|
RangeQueryOperation(LocalAbstractObject queryObject,
float radius,
AnswerType answerType,
int maxAnswerSize,
boolean storeMetaDistances)
Creates a new instance of RangeQueryOperation for a given query object, radius and maximal number of objects to return. |
|
RangeQueryOperation(LocalAbstractObject queryObject,
float radius,
boolean storeMetaDistances)
Creates a new instance of RangeQueryOperation for a given query object and radius. |
|
RangeQueryOperation(LocalAbstractObject queryObject,
float radius,
int maxAnswerSize)
Creates a new instance of RangeQueryOperation for a given query object, radius and maximal number of objects to return. |
|
TopCombinedQueryOperation(LocalAbstractObject queryObject,
int k,
int numberOfInitialSA,
boolean numberOfInitialSAProgressive,
int numberOfRandomAccesses,
java.lang.Class<? extends QueryOperation> initialSAQueryClass,
AggregationFunction aggregationFunction)
Creates a new instance of TopCombinedQueryOperation. |
Constructor parameters in messif.operations.query with type arguments of type LocalAbstractObject | |
---|---|
KNNMultiQueryOperation(java.util.Collection<LocalAbstractObject> queryObjects,
int k)
Creates a new instance of kNNQueryOperation for given query objects and maximal number of objects to return. |
|
KNNMultiQueryOperation(java.util.Collection<LocalAbstractObject> queryObjects,
int k,
AnswerType answerType)
Creates a new instance of kNNQueryOperation for given query objects and maximal number of objects to return. |
|
KNNMultiQueryOperation(java.util.Collection<LocalAbstractObject> queryObjects,
int k,
boolean storeMetaDistances,
AnswerType answerType)
Creates a new instance of kNNQueryOperation for given query objects and maximal number of objects to return. |
Uses of LocalAbstractObject in messif.pivotselection |
---|
Fields in messif.pivotselection declared as LocalAbstractObject | |
---|---|
protected LocalAbstractObject |
CoveragePivotChooser.Ball.pivot
Center of the ball |
Fields in messif.pivotselection with type parameters of type LocalAbstractObject | |
---|---|
protected AbstractObjectList<LocalAbstractObject> |
KMeansPivotChooser.initialPivots
List of initial pivots |
protected AbstractObjectList<LocalAbstractObject> |
ClusterPivotChooser.Cluster.objects
List of objects of this cluster |
protected java.util.List<LocalAbstractObject> |
AbstractPivotChooser.preselectedPivots
List of selected pivots |
protected java.util.Set<ObjectProvider<? extends LocalAbstractObject>> |
AbstractPivotChooser.sampleProviders
Registered sample providers |
protected AbstractStreamObjectIterator<LocalAbstractObject> |
StreamSequencePivotChooser.stream
Stream to read pivots from |
Methods in messif.pivotselection that return LocalAbstractObject | |
---|---|
LocalAbstractObject |
ClusterPivotChooser.Cluster.getClusteroid()
Returns an object (clusteriod) that is in the center of this cluster. |
LocalAbstractObject |
ClusterPivotChooser.Pair.getClusteroid()
Clusteroid of the cluster that would be formed by merging the two clusters passed to the constructor. |
LocalAbstractObject |
AbstractPivotChooser.getLastPivot()
Access to the last selected pivot. |
LocalAbstractObject |
TwoDistantIncrementalPivotChooser.getLeftPivot()
Returns the left (first) pivot. |
LocalAbstractObject |
AbstractPivotChooser.getNextPivot()
Returns a new pivot that is freshly selected. |
LocalAbstractObject |
ClusterPivotChooser.Cluster.getObject(int index)
Retrieves an object at the passed index. |
LocalAbstractObject |
AbstractPivotChooser.getPivot()
Access to the first selected pivot (even if more pivots are available). |
LocalAbstractObject |
CoveragePivotChooser.Ball.getPivot()
Center of this ball. |
LocalAbstractObject |
AbstractPivotChooser.getPivot(int position)
Returns a reference to a preselected pivot at the desired position. |
LocalAbstractObject |
TwoDistantIncrementalPivotChooser.getRightPivot()
Returns the right (second) pivot. |
LocalAbstractObject |
AbstractPivotChooser.removeLastPivot()
Deletes the last pivot from the list of current pivots and returns it. |
Methods in messif.pivotselection that return types with arguments of type LocalAbstractObject | |
---|---|
AbstractObjectIterator<LocalAbstractObject> |
ClusterPivotChooser.Cluster.getAllObjects()
Returns all objects of this cluster as an iterator. |
java.util.Iterator<LocalAbstractObject> |
AbstractPivotChooser.iterator()
Provides a read-only iterator over the collection of currently selected pivots |
Methods in messif.pivotselection with parameters of type LocalAbstractObject | |
---|---|
void |
AbstractPivotChooser.addPivot(LocalAbstractObject pivot)
This method appends a new pivot to the currently existing list. |
void |
IncrementalPivotChooser.addPivot(LocalAbstractObject newPivot)
This method appends a new pivot to the currently existing list. |
void |
ClusterPivotChooser.filterAfterAdd(LocalAbstractObject object,
LocalBucket bucket)
|
void |
CoveragePivotChooser.filterAfterAdd(LocalAbstractObject object,
LocalBucket bucket)
|
void |
IncrementalPivotChooser.filterAfterAdd(LocalAbstractObject object,
LocalBucket bucket)
|
void |
OnFlyRandomPivotChooser.filterAfterAdd(LocalAbstractObject object,
LocalBucket bucket)
filterObject() Filter method used to pick one pivot at random. |
void |
OutlierPivotChooser.filterAfterAdd(LocalAbstractObject object,
LocalBucket bucket)
|
void |
TwoDistantIncrementalPivotChooser.filterAfterAdd(LocalAbstractObject object,
LocalBucket bucket)
Method for preselecting pivots as they are added to a bucket. |
void |
ClusterPivotChooser.filterAfterRemove(LocalAbstractObject object,
LocalBucket bucket)
|
void |
CoveragePivotChooser.filterAfterRemove(LocalAbstractObject object,
LocalBucket bucket)
|
void |
IncrementalPivotChooser.filterAfterRemove(LocalAbstractObject object,
LocalBucket bucket)
|
void |
OutlierPivotChooser.filterAfterRemove(LocalAbstractObject object,
LocalBucket bucket)
|
protected void |
TwoDistantIncrementalPivotChooser.updateSelectedPivots(LocalAbstractObject object)
Updates the selected pivots. |
Method parameters in messif.pivotselection with type arguments of type LocalAbstractObject | |
---|---|
void |
AbstractPivotChooser.deregisterSampleProvider(ObjectProvider<? extends LocalAbstractObject> provider)
Removes registration of a sample set provider that was previously registered (others are silently ignored). |
void |
AbstractPivotChooser.registerSampleProvider(ObjectProvider<? extends LocalAbstractObject> provider)
Registers a new sample set provider used by this pivot chooser to select pivots. |
protected abstract void |
AbstractPivotChooser.selectPivot(int count,
AbstractObjectIterator<? extends LocalAbstractObject> sampleSetIterator)
This method carries out the actual pivot selection and must be implemented by subclasses. |
protected void |
ClusterPivotChooser.selectPivot(int count,
AbstractObjectIterator<? extends LocalAbstractObject> sampleSetIterator)
|
protected void |
CoveragePivotChooser.selectPivot(int count,
AbstractObjectIterator<? extends LocalAbstractObject> sampleSetIterator)
|
protected void |
IncrementalIDistanceChooser.selectPivot(int pivots,
AbstractObjectIterator<? extends LocalAbstractObject> objectIter)
Selects new pivots. |
protected void |
IncrementalPivotChooser.selectPivot(int pivots,
AbstractObjectIterator<? extends LocalAbstractObject> objectIter)
Selects new pivots. |
protected void |
KMeansPivotChooser.selectPivot(int count,
AbstractObjectIterator<? extends LocalAbstractObject> sampleSetIterator)
This method only uses the preselected pivots as initial pivots for k-means and rewrites the pivots completely |
protected void |
OutlierPivotChooser.selectPivot(int count,
AbstractObjectIterator<? extends LocalAbstractObject> sampleSetIterator)
|
protected void |
RandomPivotChooser.selectPivot(int count,
AbstractObjectIterator<? extends LocalAbstractObject> sampleSetIterator)
Method for selecting pivots and appending to the list of pivots. |
protected void |
StreamSequencePivotChooser.selectPivot(int count,
AbstractObjectIterator<? extends LocalAbstractObject> sampleSetIterator)
This method carries out the actual pivot selection, that is, read specified number of objects from the stream. |
protected void |
TwoDistantIncrementalPivotChooser.selectPivot(int count,
AbstractObjectIterator<? extends LocalAbstractObject> sampleSetIterator)
Select at least count pitvots and add them by addPivot method. |
Constructors in messif.pivotselection with parameters of type LocalAbstractObject | |
---|---|
ClusterPivotChooser.Cluster(int id,
LocalAbstractObject object,
ClusterPivotChooser.PrecomputedDistances pd)
Create a new Cluster containing just the passed object. |
|
CoveragePivotChooser.Ball(LocalAbstractObject pivot,
int pivotIndex,
CoveragePivotChooser.PrecomputedDistances pd)
Create a new Ball and compute the number of objects covered by the ball and its neighbohood, see CoveragePivotChooser.Ball.objects for more information. |
|
KMeansPivotChooser.SelectClustroidThread(AbstractObjectList<LocalAbstractObject> cluster,
LocalAbstractObject originalPivot)
Creates a new SelectClustroidThread for computing the "center" of a cluster. |
Constructor parameters in messif.pivotselection with type arguments of type LocalAbstractObject | |
---|---|
ClusterPivotChooser.PrecomputedDistances(AbstractObjectList<? extends LocalAbstractObject> objectList)
Create and initilize the new instance of PrecomputedDistances. |
|
CoveragePivotChooser.PrecomputedDistances(AbstractObjectList<? extends LocalAbstractObject> objectList)
Create and initilize the new instance of PrecomputedDistances. |
|
KMeansPivotChooser.SelectClustroidThread(AbstractObjectList<LocalAbstractObject> cluster,
LocalAbstractObject originalPivot)
Creates a new SelectClustroidThread for computing the "center" of a cluster. |
|
KMeansPivotChooser(AbstractObjectList<LocalAbstractObject> initialPivots)
Creates a new instance of KMeansPivotChooser. |
|
StreamSequencePivotChooser(java.lang.Class<? extends LocalAbstractObject> objClass,
java.lang.String fileName)
Creates a new instance of StreamSequencePivotChooser. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |