Package | Description |
---|---|
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.netbucket |
Networked objects and buckets.
|
messif.netbucket.replication |
Replication support for remote buckets.
|
messif.objects |
Metric data objects.
|
messif.objects.classification.impl |
Provides implementations for common classification tasks.
|
messif.objects.extraction |
Support for
object extraction. |
messif.objects.impl |
Implementation of basic data objects.
|
messif.objects.text |
Support for text data.
|
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).
|
messif.utility |
Various utilities that does not fit anywhere else including
a main class for executing batch files.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends LocalAbstractObject> |
Algorithm.getObjectClass()
Returns the class of objects indexed by this algorithm.
|
java.lang.Class<? extends LocalAbstractObject> |
RMIAlgorithm.getObjectClass() |
java.lang.Class<? extends LocalAbstractObject> |
RMIAlgorithmOriginal.getObjectClass()
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected AbstractObjectList<LocalAbstractObject> |
SequentialScan.pivots
A list of fixed pivots used for filtering
|
Modifier and Type | Method and Description |
---|---|
protected void |
SequentialScan.addPrecompDist(LocalAbstractObject object)
Add precomputed distances to a given object.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ParallelSequentialScan.processObjectInsert(java.util.Collection<? extends LocalAbstractObject> objects)
Processes the insertion of objects into buckets.
|
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.
|
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.
|
SequentialScan(LocalBucket bucket,
AbstractObjectIterator<LocalAbstractObject> pivotIter,
int pivotCount,
boolean pivotDistsValidIfGiven)
Creates a new instance of SequantialScan access structure with the given bucket and filtering pivots.
|
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
abstract AbstractObjectIterator<LocalAbstractObject> |
Bucket.getAllObjects()
Returns iterator over all objects from this bucket.
|
AbstractObjectIterator<LocalAbstractObject> |
LocalBucket.getAllObjects() |
java.util.List<LocalAbstractObject> |
StorageInsertFailureException.getFailedObjects()
Returns the list of objects that could not be inserted.
|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
StorageInsertFailureException.addFailedObject(LocalAbstractObject failedObject)
Adds a failed object to this exception.
|
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.
|
Modifier and Type | Method and Description |
---|---|
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. |
protected int |
LocalBucket.deleteObjects(ModifiableSearch<LocalAbstractObject> search,
int deleteLimit)
Delete objects that are retrieved by the given search.
|
Modifier and Type | Field and Description |
---|---|
protected ModifiableIndex<LocalAbstractObject> |
DiskBlockBucket.objects
Object storage
|
protected ModifiableOrderedIndex<java.lang.String,LocalAbstractObject> |
DiskBlockLocatorBucket.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<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
|
Modifier and Type | Method and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
int |
AlgorithmStorageBucket.addObjects(java.util.Iterator<? extends LocalAbstractObject> objects) |
static <T> VirtualStorageBucket<T> |
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 <T> VirtualStorageBucket<T> |
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.
|
<C> ModifiableSearch<LocalAbstractObject> |
AlgorithmStorageBucket.search(IndexComparator<? super C,? super LocalAbstractObject> comparator,
C key) |
<C> ModifiableSearch<LocalAbstractObject> |
AlgorithmStorageBucket.search(IndexComparator<? super C,? super LocalAbstractObject> comparator,
C from,
C to) |
<C> ModifiableSearch<LocalAbstractObject> |
AlgorithmStorageBucket.search(IndexComparator<? super C,? super LocalAbstractObject> comparator,
java.util.Collection<? extends C> keys) |
Constructor and Description |
---|
PlainStorageBucket(long capacity,
long softCapacity,
long lowOccupation,
boolean occupationAsBytes,
ModifiableIndex<LocalAbstractObject> index)
Creates a new instance of PlainStorageBucket.
|
VirtualStorageBucket(long capacity,
long softCapacity,
long lowOccupation,
boolean occupationAsBytes,
ModifiableOrderedIndex<C,LocalAbstractObject> index)
Creates a new instance of VirtualStorageBucket.
|
Modifier and Type | Class and Description |
---|---|
class |
SearchAbstractObjectDualIterator<T extends LocalAbstractObject>
Provides a bridge between
Search and AbstractObjectIterator . |
class |
SearchAbstractObjectIterator<T extends LocalAbstractObject>
Provides a bridge between
Search and AbstractObjectIterator . |
Modifier and Type | Field and Description |
---|---|
static IndexComparator<AbstractObjectKey,LocalAbstractObject> |
LocalAbstractObjectOrder.keyToLocalObjectComparator
Index order defined by object keys
|
Modifier and Type | Method and Description |
---|---|
static <T extends LocalAbstractObject> |
LocalAbstractObjectOrder.searchIndexByKey(Index<T> index,
AbstractObjectKey key)
Search the specified
index for the object with given key. |
static <T extends LocalAbstractObject> |
LocalAbstractObjectOrder.searchIndexByLocator(Index<T> index,
java.lang.String locator)
Search the specified
index for the object with given locator. |
Modifier and Type | Method and Description |
---|---|
LocalAbstractObject |
LocalAbstractObjectOrder.extractKey(LocalAbstractObject object) |
Modifier and Type | Method and Description |
---|---|
int |
LocalAbstractObjectOrder.compare(LocalAbstractObject o1,
LocalAbstractObject o2) |
LocalAbstractObject |
LocalAbstractObjectOrder.extractKey(LocalAbstractObject object) |
int |
LocalAbstractObjectOrder.indexCompare(LocalAbstractObject o1,
LocalAbstractObject o2) |
Modifier and Type | Class and Description |
---|---|
class |
BucketBallRegion |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
SplittableAlgorithm.SplittableAlgorithmResult.markMovedObjects(Algorithm algorithm,
java.util.Collection<? extends LocalAbstractObject> objects)
Registers a move of objects into the result.
|
Constructor and Description |
---|
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.
|
Modifier and Type | Field and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Class and Description |
---|---|
static class |
DatabaseStorage.LocalAbstractObjectTextStreamColumnConvertor<T extends LocalAbstractObject>
Column convertor that uses a database String into which instances of
T are
serialized using write
method and deserialized using LocalAbstractObject.TextStreamFactory . |
Modifier and Type | Field and Description |
---|---|
static DatabaseStorage.ColumnConvertor<LocalAbstractObject> |
DatabaseStorage.locatorColumnConvertor
Column convertor that stores/restores a
locator URI
of LocalAbstractObject s stored in the database. |
Modifier and Type | Method and Description |
---|---|
static <T extends LocalAbstractObject> |
DatabaseStorage.getLocatorColumnConvertor(boolean convertFromColumn,
boolean forceReplaceLocator,
boolean convertToColumn)
Returns a column convertor that stores/restores a
locator URI
of LocalAbstractObject s stored in the database. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
DatabaseStorage.LocalAbstractObjectTextStreamColumnConvertor.convertToColumnValue(LocalAbstractObject instance) |
Modifier and Type | Field and Description |
---|---|
protected LocalAbstractObject |
BucketManipulationReplyMessage.object |
Modifier and Type | Field and Description |
---|---|
protected AbstractObjectList<LocalAbstractObject> |
BucketManipulationReplyMessage.objects |
Modifier and Type | Method and Description |
---|---|
LocalAbstractObject |
RemoteAbstractObject.getLocalAbstractObject()
Returns the actual object.
|
LocalAbstractObject |
BucketManipulationReplyMessage.getObject() |
LocalAbstractObject |
RemoteBucket.getObject(AbstractObjectKey key)
Retrieve an object with the specified key from this bucket.
|
LocalAbstractObject |
RemoteBucket.getObject(java.lang.String locator)
Retrieve an object with the specified locator from this bucket.
|
Modifier and Type | Method and Description |
---|---|
AbstractObjectIterator<LocalAbstractObject> |
RemoteBucket.getAllObjects()
Returns iterator over all objects from the remote bucket.
|
AbstractObjectList<LocalAbstractObject> |
BucketManipulationReplyMessage.getObjects() |
Modifier and Type | Method and Description |
---|---|
void |
RemoteBucket.addObject(LocalAbstractObject object) |
int |
RemoteBucket.deleteObject(LocalAbstractObject object,
int deleteLimit) |
Modifier and Type | Method and Description |
---|---|
int |
RemoteBucket.addObjects(java.util.Iterator<? extends LocalAbstractObject> objects) |
Constructor and Description |
---|
BucketManipulationReplyMessage(BucketManipulationRequestMessage message,
LocalAbstractObject object)
Creates a new instance of BucketManipulationReplyMessage for getting object
|
BucketManipulationReplyMessage(BucketManipulationRequestMessage message,
LocalAbstractObject object,
boolean deleteObject)
Creates a new instance of BucketManipulationReplyMessage for getting object
|
BucketManipulationRequestMessage(LocalAbstractObject object,
int remoteBucketID)
Creates a new instance of BucketManipulationRequestMessage that requests addition of object to a remote bucket
|
BucketManipulationRequestMessage(LocalAbstractObject object,
int remoteBucketID,
int deleteObjects)
Creates a new instance of BucketManipulationRequestMessage that requests addition/removal of object to/from a remote bucket
|
RemoteAbstractObject(LocalAbstractObject object,
RemoteBucket bucket)
Creates a new instance of RemoteAbstractObject from the specified LocalAbstractObject.
|
Constructor and Description |
---|
BucketManipulationReplyMessage(BucketManipulationRequestMessage message,
AbstractObjectIterator<? extends LocalAbstractObject> objects)
Creates a new instance of BucketManipulationReplyMessage for getting
|
BucketManipulationReplyMessage(BucketManipulationRequestMessage message,
java.util.Collection<? extends LocalAbstractObject> objects,
QueryOperation<?> query)
Creates a new instance of BucketManipulationReplyMessage for getting
|
BucketManipulationRequestMessage(java.util.Iterator<? extends LocalAbstractObject> objects,
int remoteBucketID)
Creates a new instance of BucketManipulationRequestMessage that requests addition of list of objects to a remote bucket
|
Modifier and Type | Method and Description |
---|---|
LocalAbstractObject |
ReplicationBucket.getObject(AbstractObjectKey key) |
LocalAbstractObject |
ReplicationBucket.getObject(java.lang.String locator) |
Modifier and Type | Method and Description |
---|---|
AbstractObjectIterator<LocalAbstractObject> |
ReplicationBucket.getAllObjects() |
protected ModifiableIndex<LocalAbstractObject> |
ReplicationBucket.getModifiableIndex() |
AbstractObjectIterator<LocalAbstractObject> |
ReplicationBucket.provideObjects() |
Modifier and Type | Method and Description |
---|---|
void |
ReplicationBucket.addObject(LocalAbstractObject object) |
Modifier and Type | Method and Description |
---|---|
int |
ReplicationBucket.addObjects(java.util.Collection<? extends LocalAbstractObject> objects) |
int |
ReplicationBucket.addObjects(java.util.Iterator<? extends LocalAbstractObject> objects) |
Modifier and Type | Class and Description |
---|---|
static class |
LocalAbstractObject.TextStreamFactory<T extends LocalAbstractObject>
Provides a factory for creating instances of T from a given
text stream . |
Modifier and Type | Class and Description |
---|---|
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 |
LocalAbstractObjectParametric
Extension of the standard
MetaObject that allows to store (in addition
to encapsulated LocalAbstractObject s) additional named parameters too. |
class |
MetaObject
Represents a collection of LocalAbstractObjects encapsulated as one object.
|
class |
MetaObjectParametric
Extension of the standard
MetaObject that allows to store (in addition
to encapsulated LocalAbstractObject s) additional named parameters too. |
Modifier and Type | Field and Description |
---|---|
protected LocalAbstractObject |
LocalAbstractObject.DataEqualObject.object
Encapsulated object
|
protected LocalAbstractObject |
BallRegion.pivot
Center of the ball region
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<LocalAbstractObject,java.lang.Float> |
PrecomputedDistancesPivotMapFilter.precompDistMapping
The hash table of precomputed distances
|
static DistanceFunction<LocalAbstractObject> |
LocalAbstractObject.trivialDistanceFunction
Trivial distance function that for any
LocalAbstractObject returns
the call to getDistance(messif.objects.LocalAbstractObject) method |
Modifier and Type | Method and Description |
---|---|
static <E extends LocalAbstractObject> |
LocalAbstractObject.create(java.lang.Class<E> objectClass,
java.lang.String objectData,
java.lang.Object... additionalArguments)
Creates a new LocalAbstractObject of the specified type from string.
|
static <T extends LocalAbstractObject> |
LocalAbstractObject.create(java.lang.Class<T> objectClass,
java.io.BufferedReader dataReader,
java.lang.Object... additionalArguments)
Creates a new instance of
objectClass from the dataReader . |
protected <T extends LocalAbstractObject> |
MetaObject.writeObjectsHeader(java.io.OutputStream stream,
java.util.Map<java.lang.String,T> objects)
Utility method for writing a metaobject header to a given text stream.
|
Modifier and Type | Method and Description |
---|---|
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 static LocalAbstractObject |
MetaObject.readObject(java.io.BufferedReader stream,
java.lang.String className)
Reads one object with the specified class name from the stream.
|
protected LocalAbstractObject[] |
MetaObject.readObjects(java.io.BufferedReader stream,
int count,
java.lang.Class<? extends LocalAbstractObject> objectClass)
Utility method for reading
count objects of class objectClass from a text stream. |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends LocalAbstractObject> |
DistanceFunctionMultiObjectAggregation.getDistanceObjectClass() |
java.lang.Class<? extends LocalAbstractObject> |
LocalAbstractObject.TrivialDistanceFunction.getDistanceObjectClass() |
java.util.Map<java.lang.String,? extends LocalAbstractObject> |
MetaObject.getObjectMap()
Returns a collection of all the encapsulated objects associated with their symbolic names.
|
java.util.Collection<? extends 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.
|
protected java.util.Map<java.lang.String,LocalAbstractObject> |
MetaObject.readObjects(java.io.BufferedReader stream,
java.util.Collection<java.lang.String> restrictNames,
java.lang.String[] namesAndClasses,
java.util.Map<java.lang.String,LocalAbstractObject> objects)
Utility method for reading objects from a text stream.
|
Modifier and Type | Method and Description |
---|---|
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.
|
protected abstract boolean |
PrecomputedDistancesFilter.addPrecomputedDistance(LocalAbstractObject obj,
float distance,
float[] metaDistances)
Adds a precomputed distance to this filter.
|
protected boolean |
PrecomputedDistancesFixedArrayFilter.addPrecomputedDistance(LocalAbstractObject obj,
float distance,
float[] metaDistances) |
protected boolean |
PrecomputedDistancesPivotMapFilter.addPrecomputedDistance(LocalAbstractObject obj,
float distance,
float[] metaDistances) |
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.
|
float |
LocalAbstractObject.TrivialDistanceFunction.getDistance(LocalAbstractObject o1,
LocalAbstractObject o2) |
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 |
DistanceFunctionMultiObjectAggregation.getDistanceMultiObject(java.util.Collection<? extends LocalAbstractObject> objects,
LocalAbstractObject object,
float[] individualDistances) |
float |
BallRegion.getDistanceRegion(LocalAbstractObject regionPivot,
float regionRadius,
float distThreshold)
Metric distance function between two ball regions.
|
float |
LocalAbstractObject.getDistanceStorePrecomputed(LocalAbstractObject obj,
PrecomputedDistancesFilterFactory<? extends PrecomputedDistancesFilter> filterFactory)
Metric distance function that stores the resulting distance into a
PrecomputedDistancesFilter . |
float |
LocalAbstractObject.getDistanceStorePrecomputed(LocalAbstractObject obj,
PrecomputedDistancesFilterFactory<? extends PrecomputedDistancesFilter> filterFactory,
float distThreshold)
Metric distance function that stores the resulting distance into a
PrecomputedDistancesFilter . |
float |
LocalAbstractObject.getDistanceStorePrecomputed(LocalAbstractObject obj,
PrecomputedDistancesFilterFactory<? extends PrecomputedDistancesFilter> filterFactory,
float[] metaDistances,
float distThreshold)
Metric distance function that stores the resulting distance into a
PrecomputedDistancesFilter . |
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 |
LocalAbstractObject.getPrecomputedDistance(LocalAbstractObject obj)
Returns the precomputed distance to an object.
|
float |
PrecomputedDistancesFilter.getPrecomputedDistance(LocalAbstractObject obj)
Returns a precomputed distance to the given object.
|
float |
LocalAbstractObject.getPrecomputedDistance(LocalAbstractObject obj,
float[] metaDistances)
Returns the precomputed distance to an object.
|
abstract float |
PrecomputedDistancesFilter.getPrecomputedDistance(LocalAbstractObject obj,
float[] metaDistances)
Returns a precomputed distance to the given object and the respective meta distances
array.
|
float |
PrecomputedDistancesFixedArrayFilter.getPrecomputedDistance(LocalAbstractObject obj,
float[] metaDistances) |
float |
PrecomputedDistancesPivotMapFilter.getPrecomputedDistance(LocalAbstractObject obj,
float[] metaDistances) |
protected static float |
MetaObject.implementationGetDistance(LocalAbstractObject o1,
LocalAbstractObject o2,
float distThreshold)
Convenience method that allows to call the metric function implementation
directly for encapsulated objects (so that the statistics and caching does not apply).
|
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 . |
boolean |
LocalAbstractObject.isDistanceCompatible(LocalAbstractObject o)
Returns whether the given object is distance compatible with the
distance function of this object.
|
static void |
LocalAbstractObject.readAttributesFromStream(java.lang.String line,
java.lang.String attributesRegexp,
java.lang.String arrayItemsRegexp,
LocalAbstractObject dataObject,
java.lang.reflect.Field... dataFields)
Helper method for reading object primitive/array attributes from a text stream.
|
static void |
LocalAbstractObjectAutoImpl.readAttributesFromStream(java.lang.String line,
java.lang.String attributesRegexp,
java.lang.String arrayItemsRegexp,
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 |
LocalAbstractObject.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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
int |
PrecomputedDistancesFixedArrayFilter.addPrecompDist(AbstractObjectList<LocalAbstractObject> pivots,
LocalAbstractObject obj)
Add distances at the end of internal list of precomputed distances.
|
float |
DistanceFunctionMultiObjectAggregation.getDistanceMultiObject(java.util.Collection<? extends LocalAbstractObject> objects,
LocalAbstractObject object,
float[] individualDistances) |
protected static java.lang.reflect.Field[] |
LocalAbstractObject.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.
|
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.
|
protected static <T> T |
MetaObject.getObjectFromMap(java.util.Map<java.lang.String,? extends LocalAbstractObject> objects,
java.lang.String name,
java.lang.Class<? extends T> objectClass,
boolean clone,
AbstractObjectKey cloneKey)
|
protected java.util.Map<java.lang.String,LocalAbstractObject> |
MetaObject.readObjects(java.io.BufferedReader stream,
java.util.Collection<java.lang.String> restrictNames,
java.lang.String[] namesAndClasses,
java.util.Map<java.lang.String,LocalAbstractObject> objects)
Utility method for reading objects from a text stream.
|
protected LocalAbstractObject[] |
MetaObject.readObjects(java.io.BufferedReader stream,
int count,
java.lang.Class<? extends LocalAbstractObject> objectClass)
Utility method for reading
count objects of class objectClass from a text stream. |
protected void |
MetaObject.writeObjects(java.io.OutputStream stream,
java.util.Collection<? extends LocalAbstractObject> objects)
Utility method for writing a the given objects to a text stream.
|
Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
LocalAbstractObject |
ExtractorClassifier.getExtractedObject(Parametric parameters)
Returns the extracted object stored by this classifier in the given parameters.
|
Modifier and Type | Method and Description |
---|---|
boolean |
RankingQueryOperationClassifier.addClasifiedObject(LocalAbstractObject object,
C classification) |
Classification<C> |
ObjectProviderClassifier.classify(LocalAbstractObject object,
Parametric parameters) |
Classification<C> |
RankingQueryOperationClassifier.classify(LocalAbstractObject object,
Parametric parameters) |
protected RankingQueryOperation |
ApproxKNNOperationClassifier.createOperation(LocalAbstractObject object) |
protected RankingQueryOperation |
KNNOperationClassifier.createOperation(LocalAbstractObject object) |
protected abstract RankingQueryOperation |
RankingQueryOperationClassifier.createOperation(LocalAbstractObject object)
Creates a ranking operation to be executed to get the candidate list for classification.
|
boolean |
RankingQueryOperationClassifier.removeClasifiedObject(LocalAbstractObject object) |
Constructor and Description |
---|
ExtractorClassifier(Classifier<? super LocalAbstractObject,C> classifier,
Extractor<? extends LocalAbstractObject> extractor,
java.lang.String extractedObjectParameter)
Creates a new extractor classifier.
|
ExtractorClassifier(Classifier<? super LocalAbstractObject,C> classifier,
Extractor<? extends LocalAbstractObject> extractor,
java.lang.String extractedObjectParameter)
Creates a new extractor classifier.
|
ObjectProviderClassifier(Classifier<? super java.util.Iterator<? extends RankedAbstractObject>,C> classifier,
ObjectProvider<? extends LocalAbstractObject> classifiedObjects)
Creates a new kNN classifier.
|
Modifier and Type | Class and Description |
---|---|
class |
ConvertorExtractor<F extends LocalAbstractObject,T extends LocalAbstractObject>
|
class |
ConvertorExtractor<F extends LocalAbstractObject,T extends LocalAbstractObject>
|
class |
ConvertorMultiExtractor<F extends LocalAbstractObject,T extends LocalAbstractObject>
Multi-extractor that applies a
Convertor to all the objects extracted by the encapsulated MultiExtractor . |
class |
ConvertorMultiExtractor<F extends LocalAbstractObject,T extends LocalAbstractObject>
Multi-extractor that applies a
Convertor to all the objects extracted by the encapsulated MultiExtractor . |
interface |
Extractor<T extends LocalAbstractObject>
Interface for extractors that can create
objects
from binary data. |
interface |
ExtractorCloseable<T extends LocalAbstractObject>
Interface for extractors that can create
objects
from binary data and can be closed . |
class |
ExtractorIterator<T extends LocalAbstractObject>
Iterator that provides objects by
Extractor . |
interface |
MultiExtractor<T extends LocalAbstractObject>
Interface for extractors that can create multiple
objects
from a single binary data source. |
class |
StoringMultiExtractor<T extends LocalAbstractObject>
Extractor that stores the data source binary data to a given storage and
then passes the extraction pipeline to the encapsulated extractor.
|
Modifier and Type | Method and Description |
---|---|
static <T extends LocalAbstractObject> |
Extractors.cast(java.lang.Object extractorInstance,
java.lang.Class<? extends T> extractedClass)
Returns a type-safe cast of a given extractor instance.
|
static <T extends LocalAbstractObject> |
Extractors.castToMultiExtractor(java.lang.Object object,
java.lang.Class<? extends T> extractedClass,
boolean allowPlainExtractor)
Returns a type-safe cast of a given multi-extractor instance.
|
static <T extends LocalAbstractObject> |
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 <T extends LocalAbstractObject> |
Extractors.createExternalExtractor(java.lang.Class<? extends T> objectClass,
java.lang.String command,
boolean fileAsArgument,
java.lang.Object[] additionalArguments)
Creates an extractor that creates objects from binary data by external command.
|
static <T extends LocalAbstractObject> |
Extractors.createExternalExtractor(java.lang.Class<? extends T> objectClass,
java.lang.String command,
boolean fileAsArgument,
java.lang.String locatorParameter,
int parameterMapArgument,
java.lang.Object[] additionalArguments)
Creates an extractor that creates objects from binary data by external command.
|
static <T extends LocalAbstractObject> |
Extractors.createExternalExtractor(java.lang.Class<? extends T> objectClass,
java.lang.String command,
boolean fileAsArgument,
java.lang.String locatorParameter,
java.lang.Object[] additionalArguments)
Creates an extractor that creates objects from binary data by external command.
|
static <T extends LocalAbstractObject> |
Extractors.createExternalExtractor(java.lang.Class<? extends T> objectClass,
java.lang.String command,
java.lang.String locatorParameter)
Creates an extractor that creates objects from binary data by external command.
|
static <T extends LocalAbstractObject> |
Extractors.createExternalMultiExtractor(java.lang.Class<? extends T> objectClass,
java.lang.String command,
boolean fileAsArgument,
java.lang.String locatorParameter,
int parameterMapArgument,
java.lang.Object[] additionalArguments)
Creates an extractor that creates multiple objects from binary data by external command.
|
static <T extends LocalAbstractObject> |
Extractors.createExternalMultiExtractor(java.lang.Class<? extends T> objectClass,
java.lang.String command,
boolean fileAsArgument,
java.lang.String locatorParameter,
java.lang.Object[] additionalArguments)
Creates an extractor that creates multiple objects from binary data by external command.
|
static <T extends LocalAbstractObject> |
Extractors.createExtractorFromProperties(java.lang.Class<? extends T> objectClass,
ExtendedProperties properties,
java.lang.String key)
Creates an instance of
Extractor from property values. |
static <T extends LocalAbstractObject> |
Extractors.createMultiExtractorFromProperties(java.lang.Class<? extends T> objectClass,
ExtendedProperties properties,
java.lang.String key)
Creates an instance of
MultiExtractor from property values. |
static <T extends LocalAbstractObject> |
Extractors.createResourcesExtractor(java.lang.Class<? extends T> objectClass,
java.lang.String resourcePath)
Creates an extractor encapsulated in application resources that creates objects from binary data.
|
static <T extends LocalAbstractObject> |
Extractors.createSocketExtractor(java.lang.Class<? extends T> objectClass,
java.lang.String host,
int port)
Creates an external extractor that runs as a TCP service on a remote host.
|
static <T extends LocalAbstractObject> |
Extractors.createSocketExtractor(java.lang.Class<? extends T> objectClass,
java.lang.String host,
int port,
java.lang.String locatorParameter)
Creates an external extractor that runs as a TCP service on a remote host.
|
static <T extends LocalAbstractObject> |
Extractors.createSocketExtractor(java.lang.Class<? extends T> objectClass,
java.lang.String host,
int port,
java.lang.String locatorParameter,
int parameterMapArgument,
java.lang.Object[] additionalArguments)
Creates an external extractor that runs as a TCP service on a remote host.
|
static <T extends LocalAbstractObject> |
Extractors.createSocketExtractor(java.lang.Class<? extends T> objectClass,
java.lang.String host,
int port,
java.lang.String dataParameter,
java.lang.String locatorParameter,
int parameterMapArgument,
java.lang.Object[] additionalArguments)
Creates an external extractor that runs as a TCP service on a remote host.
|
static <T extends LocalAbstractObject> |
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 <T extends LocalAbstractObject> |
Extractors.createTextExtractor(java.lang.Class<? extends T> objectClass,
java.lang.String locatorParameter,
java.lang.Object[] additionalArguments)
Creates an extractor that creates objects from text InputStream using the
constructor that takes
BufferedReader as argument. |
static <T extends LocalAbstractObject> |
Extractors.createTextExtractor(java.lang.Class<? extends T> objectClass,
java.lang.String dataParameter,
java.lang.String locatorParameter,
int parameterMapArgument,
java.lang.Object[] additionalArguments)
Creates an extractor that creates objects from text InputStream using the
constructor that takes
BufferedReader as argument. |
static <T extends LocalAbstractObject> |
Extractors.createTextExtractor(java.lang.Class<? extends T> objectClass,
java.lang.String dataParameter,
java.lang.String locatorParameter,
java.lang.Object[] additionalArguments)
Creates an extractor that creates objects from text InputStream using the
constructor that takes
BufferedReader as argument. |
static <T extends LocalAbstractObject> |
Extractors.extract(Extractor<? extends T> extractor,
java.io.File file)
Extracts object from the
file using the given extractor . |
static <T extends LocalAbstractObject> |
Extractors.extract(Extractor<? extends T> extractor,
java.net.URL url,
java.lang.String mimeTypeRegexp)
Extracts object downloaded from the
url using the given extractor . |
static <T extends LocalAbstractObject> |
Extractors.extractorToMultiExtractor(Extractor<? extends T> extractor)
Converts a plain
Extractor to MultiExtractor . |
static <T extends LocalAbstractObject> |
Extractors.wrapUrlDataSource(Extractor<T> extractor,
java.lang.String urlParameterName)
Returns an extractor wrapper that uses an URL stored in a parameter to get the data.
|
Modifier and Type | Method and Description |
---|---|
LocalAbstractObject |
AlgorithmExtractor.extract(ExtractorDataSource dataSource) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends LocalAbstractObject> |
AlgorithmExtractor.getExtractedClass() |
Modifier and Type | Method and Description |
---|---|
static Extractor<? extends MetaObject> |
Extractors.createMetaObjectExtractor(Extractor<? extends LocalAbstractObject> extractor,
java.lang.String fieldName,
DistanceFunction<MetaObject> distance)
The created extractor takes an existing extractor and wraps each of the created object
as
MetaObjectFixedMap . |
Modifier and Type | Class and Description |
---|---|
class |
MetaObjectArray
Implementation of the
MetaObject that stores a fixed array of encapsulated objects. |
class |
MetaObjectArrayWeightedSum
Extension of the
MetaObjectArray that implements the distance
as a weighted sum of the encapsulated objects. |
class |
MetaObjectColor
This class represents a meta object that encapsulates MPEG7 descriptors for colors.
|
class |
MetaObjectCophirKeywords
Implementation of the object that encapsulates CoPhIR data including keywords.
|
static class |
MetaObjectCophirKeywords.MetaObjectCophirKeywordsDistCosine
Object that holds only keywords and measures the distance as the
weighted Cosine distance with weights based on tf-idf algorithm.
|
static class |
MetaObjectCophirKeywords.MetaObjectCophirKeywordsWithTKStrings
Extension of the MetaObjectCophirKeywords that preserves also the keyword
strings in both binary and Java serialization.
|
class |
MetaObjectFixed
Abstract implementation of the
MetaObject that stores a fixed list of
encapsulated objects. |
class |
MetaObjectFixedMap
This is an implementation of the
MetaObject which stores data in fixed ArrayMap . |
class |
MetaObjectFixedWeightedSum
Abstract extension of the
MetaObjectFixed that implements the distance
as a weighted sum of the encapsulated objects. |
class |
MetaObjectMap
Implementation of
MetaObject that stores encapsulated objects
in a hash table. |
class |
MetaObjectParametricArray
Implementation of the
MetaObject that stores a fixed array of encapsulated objects
with additional parameters . |
class |
MetaObjectParametricArrayTotalMin
Extension of the
MetaObjectArray that implements the distance
as minimum of the distances between all pairs (from this object and the other
MetaObjectArray object). |
class |
MetaObjectParametricArrayWeightedSum
Extension of the
MetaObjectParametricArray that implements the distance
as a weighted sum of the encapsulated objects. |
class |
MetaObjectParametricMap
Extension of the standard
MetaObjectParametric that stores encapsulated
LocalAbstractObject s in a map under their symbolic names (strings). |
class |
MetaObjectParametricShapeAndColor
This class represents a meta object that encapsulates MPEG7 descriptors for shape and color
with optional data stored via the
Parametric interface. |
class |
MetaObjectParametricShapeColorAndText
This class represents a meta object that encapsulates MPEG7 descriptors for shape and color.
|
class |
MetaObjectPixMacSCT
Special meta object that stores only the objects required for the PixMac search.
|
class |
MetaObjectPixMacShapeAndColor
Special meta object that stores only the objects required for the PixMac search.
|
class |
MetaObjectProfiSCT
Special meta object that stores only the objects required for the Profi search.
|
static class |
MetaObjectProfiSCT.MetaObjectProfiSCTKwDistCosine
Object that holds only keywords and measures the distance as the
weighted Cosine distance with weights based on tf-idf algorithm.
|
static class |
MetaObjectProfiSCT.MetaObjectProfiSCTKwDistJaccard
Object that holds only keywords and measures the distance as the
weighted Jaccard with weights based on tf-idf algorithm.
|
static class |
MetaObjectProfiSCT.MetaObjectProfiSCTWithTKStrings
Extension of the MetaObjectProfiSCT that preserves also the title and keywords
strings in both binary and Java serialization.
|
class |
MetaObjectProfiSCTiDIM
Special meta object that stores only the objects required for the Profi search.
|
static class |
MetaObjectProfiSCTiDIM.MetaObjectProfiSCTiDIMKwDistCosine
Object that holds only keywords and measures the distance as the
weighted Cosine distance with weights based on tf-idf algorithm.
|
static class |
MetaObjectProfiSCTiDIM.MetaObjectProfiSCTiDIMWithTKStrings
Extension of the MetaObjectProfiSCT that preserves also the title and keywords
strings in both binary and Java serialization.
|
class |
MetaObjectSAPIR |
class |
MetaObjectSAPIRWeightedDist |
class |
MetaObjectSAPIRWeightedDist2 |
class |
MetaObjectSAPIRWeightedDist3 |
class |
MetaObjectShape
This class represents a meta object that encapsulates MPEG7 descriptors for shape.
|
class |
MetaObjectShapeAndColor
This class represents a meta object that encapsulates MPEG7 descriptors for shape and color.
|
class |
ObjectByteVector
This object uses static array of byte integers as its data content.
|
class |
ObjectByteVectorL1
Implementation of the
ObjectByteVector with an L1 (city-block) metric distance. |
class |
ObjectByteVectorL2
Implementation of the
ObjectByteVector with an L2 (Euclidean) metric distance. |
class |
ObjectColorLayout |
class |
ObjectContourShape
This is the MPEG-7 Contour Shape descriptor.
|
class |
ObjectDoubleVector
This object uses static array of doubles as its data content.
|
class |
ObjectDoubleVectorL1
Implementation of the
ObjectDoubleVector with an L1 (city-block) metric distance. |
class |
ObjectDoubleVectorL2
Implementation of the
ObjectDoubleVector with an L2 (Euclidean) metric distance. |
class |
ObjectFaceLuxandDescriptor
This class encapsulates a Luxand FaceSDK recognition descriptor.
|
class |
ObjectFaceMPEG7AdvancedDescriptor
This class holds an advanced descriptor of face identity robust to variations in pose and illumination conditions.
|
class |
ObjectFaceMPEG7Descriptor
This class encapsulates a face recognition descriptor.
|
class |
ObjectFacePittPattDescriptor
This class encapsulates a PittPatt recognition descriptor.
|
class |
ObjectFeature
Abstract class for local image feature
|
class |
ObjectFeatureByte
Vlasta: This class used a hack for lowering memory footprint by moving an interval [0;255] to [-127;128], which is in essence WRONG!
|
class |
ObjectFeatureByteL2 |
class |
ObjectFeatureClustered
Deprecated.
This is superseded by
ObjectFeatureQuantized |
class |
ObjectFeatureClusteredMatch
Deprecated.
This is superseded by
ObjectFeatureQuantized |
class |
ObjectFeatureFloat |
class |
ObjectFeatureFloatL2 |
class |
ObjectFeatureFloatWClusters
Deprecated.
I do not know the purpose of this class, so I marked it as deprecated.
|
class |
ObjectFeatureFloatWClustersL2
Deprecated.
I do not know the purpose of this class, so I marked it as deprecated.
|
class |
ObjectFeatureLong |
class |
ObjectFeatureLongL2 |
class |
ObjectFeatureOrderedSet
This class adds ordering of the features in the set.
|
class |
ObjectFeatureQuantized
Class for local image feature that is quantized to an array of long integers.
|
class |
ObjectFeatureQuantizedOneOfManyDist
Class for local image feature that is quantized to an array of long integers.
|
class |
ObjectFeatureSet
Represents a list of LocalAbstractObjects
All the encapsulated objects share the same locator URI.
|
class |
ObjectFeatureSetHausdorff |
class |
ObjectFeatureSetMinNumOfSimilar
Compute the number of similar features between this and other
ObjectFeatureSet . |
class |
ObjectFeatureSetNeedlemanWunsch
Needleman-Wunsch global sequence alignment algorithm.
|
class |
ObjectFeatureSetNeedlemanWunschWindowed
Needleman-Wunsch global sequence alignment computed by sliding windows.
|
class |
ObjectFeatureSetNumOfSimilar |
class |
ObjectFeatureSetOrdpres |
class |
ObjectFeatureSetSmithWaterman
Smith-Waterman local sequence alignment algorithm.
|
class |
ObjectFeatureSetSmithWatermanWindowed
Smith-Waterman local sequence alignment computed by sliding windows.
|
class |
ObjectFeatureSetSumOfMinDists |
class |
ObjectFeatureSetSumOfSimilar |
class |
ObjectFloatUnitVector
This object uses static array of floats as its data content.
|
class |
ObjectFloatUnitVectorL2
Implementation of the
ObjectFloatUnitVector with an L2 (Euclidean) metric distance. |
class |
ObjectFloatVector
This object uses static array of floats as its data content.
|
class |
ObjectFloatVectorCosine
Implementation of the
ObjectFloatVector with a Cosine metric
distance. |
class |
ObjectFloatVectorL1
Implementation of the
ObjectFloatVector with an L1 (city-block) metric distance. |
class |
ObjectFloatVectorL2
Implementation of the
ObjectFloatVector with an L2 (Euclidean) metric distance. |
class |
ObjectFloatVectorLmax
Implementation of the
ObjectFloatVector with an L-max metric distance. |
class |
ObjectFloatVectorNeuralNetwork
This object uses static array of floats as its data content.
|
class |
ObjectFloatVectorNeuralNetworkL2
This object uses static array of floats as its data content.
|
class |
ObjectFloatVectorTunable
Implementation of the
ObjectFloatVector with an L2 (Euclidean) metric distance. |
class |
ObjectGPSCoordinate
Implements GPS coordinates objects.
|
class |
ObjectHomogeneousTexture |
class |
ObjectIntMultiVector
This object uses multiple static array of integers as its data content.
|
class |
ObjectIntMultiVectorCosine
Implements the Cosine distance function.
|
class |
ObjectIntMultiVectorJaccard
Implements the Jaccard coefficient distance function.
|
class |
ObjectIntSortedVector
This class represents an integer vector sorted non-decreasingly - the data
is sorted in the constructor, if not explicitely said that it's already sorted.
|
class |
ObjectIntSortedVectorJaccard
Implements the Jaccard coeficient distance function.
|
class |
ObjectIntVector
This object uses static array of integers as its data content.
|
class |
ObjectIntVectorL1
Implementation of the
ObjectIntVector with an L1 (city-block) metric distance. |
class |
ObjectIntVectorL2
Implementation of the
ObjectIntVector with an L2 (Euclidean) metric distance. |
class |
ObjectRectangle2D |
class |
ObjectRegionShape
This is the MPEG-7 Region Shape descriptor.
|
class |
ObjectShortVector
This object uses static array of short integers as its data content.
|
class |
ObjectShortVectorL1
Implementation of the
ObjectShortVector with an L1 (city-block) metric distance. |
class |
ObjectShortVectorL2
Implementation of the
ObjectShortVector with an L2 (Euclidean) metric distance. |
class |
ObjectSignatureSQFD
Signatures
|
class |
ObjectString
This object uses
String as its data content. |
class |
ObjectStringDNASeqDist |
class |
ObjectStringEditDist
Object with string content and edit distance metric function.
|
class |
ObjectStringEditDistSleep
An object that whose getDistance() method takes 10 miliseconds more than std Edit distance
|
class |
ObjectStringFINLP_Dist |
class |
ObjectStringSmithWaterman |
class |
ObjectUnsignedByteVector
This object represents an array of unsigned bytes represented in memory as short integers.
|
class |
ObjectUnsignedByteVectorL2
Implementation of the
ObjectUnsignedByteVector with an L2 (Euclidean) metric distance. |
class |
ObjectVectorEdgecomp |
class |
ObjectVectorEMD
represents double[] data
|
class |
ObjectXMRegionShape
This is the MPEG-7 Region Shape descriptor.
|
Modifier and Type | Field and Description |
---|---|
protected LocalAbstractObject[] |
MetaObjectArray.objects
List of objects
|
protected LocalAbstractObject[] |
MetaObjectParametricArray.objects
List of objects
|
Modifier and Type | Field and Description |
---|---|
protected ArrayMap<java.lang.String,LocalAbstractObject> |
MetaObjectFixedMap.objects
Map to store the data in.
|
protected java.util.Map<java.lang.String,LocalAbstractObject> |
MetaObjectParametricMap.objects
List of encapsulated objects
|
protected java.util.Map<java.lang.String,LocalAbstractObject> |
MetaObjectSAPIR.XMLHandlerSAPIR.objects
List of parsed local abstract objects
|
Modifier and Type | Method and Description |
---|---|
LocalAbstractObject |
MetaObjectMap.clone(boolean cloneFilterChain)
Creates and returns a copy of this object.
|
LocalAbstractObject |
MetaObjectParametricMap.clone(boolean cloneFilterChain)
Creates and returns a copy of this object.
|
LocalAbstractObject |
MetaObjectColor.clone(boolean cloneFilterChain)
Creates and returns a copy of this object.
|
LocalAbstractObject |
MetaObjectPixMacSCT.clone(boolean cloneFilterChain)
Creates and returns a copy of this object.
|
LocalAbstractObject |
MetaObjectPixMacShapeAndColor.clone(boolean cloneFilterChain)
Creates and returns a copy of this object.
|
LocalAbstractObject |
MetaObjectProfiSCT.clone(boolean cloneFilterChain)
Creates and returns a copy of this object.
|
LocalAbstractObject |
MetaObjectProfiSCTiDIM.clone(boolean cloneFilterChain)
Creates and returns a copy of this object.
|
LocalAbstractObject |
MetaObjectSAPIR.clone(boolean cloneFilterChain) |
LocalAbstractObject |
MetaObjectShape.clone(boolean cloneFilterChain) |
LocalAbstractObject |
MetaObjectShapeAndColor.clone(boolean cloneFilterChain) |
LocalAbstractObject |
ObjectFeatureSet.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 |
MetaObjectParametricMap.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 |
ObjectDoubleVector.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 |
MetaObjectColor.cloneRandomlyModify(java.lang.Object... args) |
LocalAbstractObject |
MetaObjectPixMacSCT.cloneRandomlyModify(java.lang.Object... args) |
LocalAbstractObject |
MetaObjectPixMacShapeAndColor.cloneRandomlyModify(java.lang.Object... args) |
LocalAbstractObject |
MetaObjectProfiSCT.cloneRandomlyModify(java.lang.Object... args) |
LocalAbstractObject |
MetaObjectProfiSCTiDIM.cloneRandomlyModify(java.lang.Object... args) |
LocalAbstractObject |
MetaObjectSAPIR.cloneRandomlyModify(java.lang.Object... args) |
LocalAbstractObject |
MetaObjectShape.cloneRandomlyModify(java.lang.Object... args) |
LocalAbstractObject |
MetaObjectShapeAndColor.cloneRandomlyModify(java.lang.Object... args) |
LocalAbstractObject |
ObjectColorLayout.cloneRandomlyModify(java.lang.Object... args)
Creates and returns a randomly modified copy of this vector.
|
LocalAbstractObject |
ObjectContourShape.cloneRandomlyModify(java.lang.Object... args)
Creates and returns a randomly modified copy of this object.
|
LocalAbstractObject |
ObjectFeature.cloneRandomlyModify(java.lang.Object... args) |
LocalAbstractObject |
ObjectFeatureByte.cloneRandomlyModify(java.lang.Object... args)
Clone randomly
|
LocalAbstractObject |
ObjectFeatureSet.cloneRandomlyModify(java.lang.Object... args) |
LocalAbstractObject |
ObjectGPSCoordinate.cloneRandomlyModify(java.lang.Object... args)
Creates and returns a randomly modified copy of this GPS coordinates.
|
LocalAbstractObject |
ObjectHomogeneousTexture.cloneRandomlyModify(java.lang.Object... args)
Creates and returns a randomly modified copy of this vector.
|
LocalAbstractObject |
ObjectIntMultiVector.cloneRandomlyModify(java.lang.Object... args) |
LocalAbstractObject |
ObjectIntSortedVector.cloneRandomlyModify(java.lang.Object... args)
Creates and returns a randomly modified copy of this vector.
|
LocalAbstractObject |
ObjectRectangle2D.cloneRandomlyModify(java.lang.Object... args) |
LocalAbstractObject |
ObjectRegionShape.cloneRandomlyModify(java.lang.Object... args) |
LocalAbstractObject |
ObjectXMRegionShape.cloneRandomlyModify(java.lang.Object... args) |
LocalAbstractObject |
MetaObjectArray.getObject(int index)
Returns the encapsulated object for given index.
|
protected abstract LocalAbstractObject |
MetaObjectFixed.getObject(int index)
Returns the fixed object with the given
index . |
LocalAbstractObject |
MetaObjectParametricArray.getObject(int index)
Returns the encapsulated object for given index.
|
LocalAbstractObject |
ObjectFeatureSet.getObject(int index)
Returns the encapsulated object for given index.
|
LocalAbstractObject |
MetaObjectArray.getObject(java.lang.String name) |
LocalAbstractObject |
MetaObjectFixed.getObject(java.lang.String name) |
LocalAbstractObject |
MetaObjectFixedMap.getObject(java.lang.String name) |
LocalAbstractObject |
MetaObjectMap.getObject(java.lang.String name) |
LocalAbstractObject |
MetaObjectParametricArray.getObject(java.lang.String name) |
LocalAbstractObject |
MetaObjectParametricMap.getObject(java.lang.String name) |
LocalAbstractObject |
MetaObjectColor.getObject(java.lang.String name)
Returns the encapsulated object for given symbolic name.
|
LocalAbstractObject |
MetaObjectPixMacSCT.getObject(java.lang.String name)
Returns the encapsulated object for given symbolic name.
|
LocalAbstractObject |
MetaObjectPixMacShapeAndColor.getObject(java.lang.String name)
Returns the encapsulated object for given symbolic name.
|
LocalAbstractObject |
MetaObjectProfiSCT.getObject(java.lang.String name)
Returns the encapsulated object for given symbolic name.
|
LocalAbstractObject |
MetaObjectSAPIR.getObject(java.lang.String name)
Returns the encapsulated object for given symbolic name.
|
LocalAbstractObject |
MetaObjectShape.getObject(java.lang.String name)
Returns the encapsulated object for given symbolic name.
|
LocalAbstractObject |
MetaObjectShapeAndColor.getObject(java.lang.String name)
Returns the encapsulated object for given symbolic name.
|
LocalAbstractObject |
MetaObjectSAPIR.XMLHandlerSAPIR.newColorLayoutType(java.util.Map<java.lang.String,java.lang.String> data) |
LocalAbstractObject |
MetaObjectSAPIR.XMLHandlerSAPIR.newColorStructureType(java.util.Map<java.lang.String,java.lang.String> data) |
LocalAbstractObject |
MetaObjectSAPIR.XMLHandlerSAPIR.newEdgeHistogramType(java.util.Map<java.lang.String,java.lang.String> data) |
LocalAbstractObject |
MetaObjectSAPIR.XMLHandlerSAPIR.newHomogeneousTextureType(java.util.Map<java.lang.String,java.lang.String> data) |
LocalAbstractObject |
MetaObjectSAPIR.XMLHandlerSAPIR.newScalableColorType(java.util.Map<java.lang.String,java.lang.String> data)
Specific object descriptor creators
|
protected LocalAbstractObject |
ObjectFeatureSet.readObject(java.io.BufferedReader stream,
java.lang.String className)
Reads one object with the specified class name from the stream.
|
protected static LocalAbstractObject[] |
MetaObjectArray.readObjects(java.io.BufferedReader stream,
boolean readEmptyClassLine,
java.lang.Class<? extends LocalAbstractObject>[] classes)
Utility method for reading objects from a text stream.
|
protected static LocalAbstractObject[] |
MetaObjectFixed.readObjects(java.io.BufferedReader stream,
java.lang.Class<? extends LocalAbstractObject>[] classes)
Utility method for reading objects from a text stream.
|
protected LocalAbstractObject[] |
MetaObjectFixed.readObjectsBinary(BinaryInput input,
BinarySerializator serializator,
java.lang.Class<? extends LocalAbstractObject>[] classes)
Reads encapsulated objects from the binary input buffer.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,? extends LocalAbstractObject> |
MetaObjectArray.getObjectMap() |
java.util.Map<java.lang.String,LocalAbstractObject> |
MetaObjectFixed.getObjectMap() |
java.util.Map<java.lang.String,LocalAbstractObject> |
MetaObjectMap.getObjectMap() |
java.util.Map<java.lang.String,LocalAbstractObject> |
MetaObjectParametricArray.getObjectMap() |
java.util.Map<java.lang.String,LocalAbstractObject> |
MetaObjectParametricMap.getObjectMap()
Returns a collection of all the encapsulated objects associated with their symbolic names.
|
java.util.Map<java.lang.String,LocalAbstractObject> |
MetaObjectSAPIR.getObjectMap()
Returns a collection of all the encapsulated objects associated with their symbolic names.
|
java.util.Collection<? extends LocalAbstractObject> |
MetaObjectArray.getObjects() |
java.util.Collection<LocalAbstractObject> |
MetaObjectFixed.getObjects() |
java.util.Collection<LocalAbstractObject> |
MetaObjectMap.getObjects() |
java.util.Collection<LocalAbstractObject> |
MetaObjectParametricArray.getObjects() |
java.util.Collection<LocalAbstractObject> |
MetaObjectParametricMap.getObjects() |
java.util.Map<java.lang.String,LocalAbstractObject> |
CophirXmlParser.getObjects()
Returns the parsed descriptor objects.
|
java.util.Collection<LocalAbstractObject> |
MetaObjectColor.getObjects() |
java.util.Collection<LocalAbstractObject> |
MetaObjectPixMacSCT.getObjects() |
java.util.Collection<LocalAbstractObject> |
MetaObjectPixMacShapeAndColor.getObjects() |
java.util.Collection<LocalAbstractObject> |
MetaObjectProfiSCT.getObjects() |
java.util.Collection<LocalAbstractObject> |
MetaObjectSAPIR.getObjects() |
java.util.Map<java.lang.String,LocalAbstractObject> |
MetaObjectSAPIR.XMLHandlerSAPIR.getObjects() |
java.util.Collection<LocalAbstractObject> |
MetaObjectShape.getObjects() |
java.util.Collection<LocalAbstractObject> |
MetaObjectShapeAndColor.getObjects() |
Modifier and Type | Method and Description |
---|---|
static java.lang.StringBuffer |
MetaObjectSAPIR.XMLHandlerSAPIR.appendObjectXML(java.lang.StringBuffer xmlString,
java.lang.String name,
LocalAbstractObject object) |
float |
ObjectFeatureFloatWClustersL2.getClustersDistance(LocalAbstractObject obj)
Deprecated.
|
protected float |
ObjectByteVectorL1.getDistanceImpl(LocalAbstractObject obj,
float distThreshold) |
protected float |
ObjectByteVectorL2.getDistanceImpl(LocalAbstractObject obj,
float distThreshold) |
protected float |
ObjectDoubleVectorL1.getDistanceImpl(LocalAbstractObject obj,
float distThreshold) |
protected float |
ObjectDoubleVectorL2.getDistanceImpl(LocalAbstractObject obj,
float distThreshold) |
protected float |
ObjectFloatUnitVectorL2.getDistanceImpl(LocalAbstractObject obj,
float distThreshold) |
protected float |
ObjectFloatVectorCosine.getDistanceImpl(LocalAbstractObject obj,
float distThreshold) |
protected float |
ObjectFloatVectorL1.getDistanceImpl(LocalAbstractObject obj,
float distThreshold) |
protected float |
ObjectFloatVectorL2.getDistanceImpl(LocalAbstractObject obj,
float distThreshold) |
protected float |
ObjectFloatVectorLmax.getDistanceImpl(LocalAbstractObject obj,
float distThreshold) |
protected float |
ObjectIntVectorL1.getDistanceImpl(LocalAbstractObject obj,
float distThreshold) |
protected float |
ObjectIntVectorL2.getDistanceImpl(LocalAbstractObject obj,
float distThreshold) |
protected float |
ObjectShortVectorL1.getDistanceImpl(LocalAbstractObject obj,
float distThreshold) |
protected float |
ObjectShortVectorL2.getDistanceImpl(LocalAbstractObject obj,
float distThreshold) |
protected float |
ObjectString.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
The actual implementation of the metric function (see
getDistance(messif.objects.LocalAbstractObject) for full explanation). |
protected float |
ObjectStringEditDist.getDistanceImpl(LocalAbstractObject obj,
float distThreshold) |
protected float |
ObjectUnsignedByteVectorL2.getDistanceImpl(LocalAbstractObject obj,
float distThreshold) |
protected float |
ObjectColorLayout.getDistanceImpl(LocalAbstractObject obj,
float distThreshold) |
protected float |
ObjectContourShape.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
The distance algorithm is taken from the ContourShapeSearch.cpp of the XM library.
|
protected float |
ObjectFaceLuxandDescriptor.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
Distance function for Luxand descriptors.
|
protected float |
ObjectFaceMPEG7AdvancedDescriptor.getDistanceImpl(LocalAbstractObject obj,
float distThreshold) |
protected float |
ObjectFaceMPEG7Descriptor.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
Metric distance function for face descriptors.
|
protected float |
ObjectFacePittPattDescriptor.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
Distance function for PittPatt descriptors.
|
protected float |
ObjectFeatureByteL2.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
Metric function
Implements Euclidean distance (L2 metric).
|
protected float |
ObjectFeatureClusteredMatch.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
Deprecated.
Metric function
Implements city-block distance measure (so-called L1 metric)
|
protected float |
ObjectFeatureFloatL2.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
Metric function
Implements Euclidean distance (L2 metric).
|
protected float |
ObjectFeatureFloatWClustersL2.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
Deprecated.
Metric function
Implements city-block distance measure (so-called L1 metric)
|
protected float |
ObjectFeatureLong.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
TODO: either implement or make this class abstract
|
protected float |
ObjectFeatureLongL2.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
Metric function
Implements city-block distance measure (so-called L1 metric)
|
protected float |
ObjectFeatureQuantized.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
Trivial Metric function implemented as equality on all the keys.
|
protected float |
ObjectFeatureQuantizedOneOfManyDist.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
Metric function implemented as testing equality of at least one pair of keys.
|
protected float |
ObjectFeatureSetHausdorff.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
The actual implementation of the metric Hausdorff function.
|
protected float |
ObjectFeatureSetMinNumOfSimilar.getDistanceImpl(LocalAbstractObject o,
float distThreshold) |
float |
ObjectFeatureSetNeedlemanWunsch.getDistanceImpl(LocalAbstractObject o,
float distTreshold) |
protected float |
ObjectFeatureSetNeedlemanWunschWindowed.getDistanceImpl(LocalAbstractObject o,
float distThreshold) |
protected float |
ObjectFeatureSetNumOfSimilar.getDistanceImpl(LocalAbstractObject o,
float distThreshold) |
protected float |
ObjectFeatureSetOrdpres.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
The actual implementation of the distance function.
|
float |
ObjectFeatureSetSmithWaterman.getDistanceImpl(LocalAbstractObject o,
float distTreshold) |
protected float |
ObjectFeatureSetSmithWatermanWindowed.getDistanceImpl(LocalAbstractObject o,
float distThreshold) |
protected float |
ObjectFeatureSetSumOfMinDists.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
The actual implementation of the non-metric function.
|
float |
ObjectFeatureSetSumOfSimilar.getDistanceImpl(LocalAbstractObject o,
float distThreshold)
The actual implementation of the distance function
|
protected float |
ObjectFloatVectorNeuralNetworkL2.getDistanceImpl(LocalAbstractObject obj,
float distThreshold) |
protected float |
ObjectFloatVectorTunable.getDistanceImpl(LocalAbstractObject obj,
float distThreshold) |
protected float |
ObjectGPSCoordinate.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
Distance function
|
protected float |
ObjectHomogeneousTexture.getDistanceImpl(LocalAbstractObject obj,
float distThreshold) |
protected float |
ObjectIntMultiVectorCosine.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
Implements the Cosine distance function.
|
protected float |
ObjectIntMultiVectorJaccard.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
Implements the Jaccard coefficient distance function.
|
protected float |
ObjectIntSortedVectorJaccard.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
Implements the Jaccard coeficient distance function.
|
protected float |
ObjectRectangle2D.getDistanceImpl(LocalAbstractObject obj,
float distThreshold) |
protected float |
ObjectRegionShape.getDistanceImpl(LocalAbstractObject obj,
float distThreshold) |
protected float |
ObjectSignatureSQFD.getDistanceImpl(LocalAbstractObject obj,
float distThreshold) |
protected float |
ObjectStringEditDistSleep.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
Metric function
Implements euclidean distance measure (so-called L2 metric)
|
protected float |
ObjectStringFINLP_Dist.getDistanceImpl(LocalAbstractObject obj,
float distThreshold) |
protected float |
ObjectStringSmithWaterman.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
Metric distance function.
|
protected float |
ObjectVectorEMD.getDistanceImpl(LocalAbstractObject obj,
float distThreshold) |
protected float |
ObjectVectorEdgecomp.getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
Metric function
Implements edge histogram distance
|
protected float |
ObjectXMRegionShape.getDistanceImpl(LocalAbstractObject obj,
float distThreshold) |
protected float |
MetaObjectArray.getDistanceImpl(LocalAbstractObject obj,
float[] metaDistances,
float distThreshold)
The actual implementation of the metric function.
|
protected float |
MetaObjectArrayWeightedSum.getDistanceImpl(LocalAbstractObject obj,
float[] metaDistances,
float distThreshold) |
protected float |
MetaObjectFixedMap.getDistanceImpl(LocalAbstractObject obj,
float[] metaDistances,
float distThreshold) |
protected float |
MetaObjectFixedWeightedSum.getDistanceImpl(LocalAbstractObject obj,
float[] metaDistances,
float distThreshold) |
protected float |
MetaObjectMap.getDistanceImpl(LocalAbstractObject obj,
float[] metaDistances,
float distThreshold)
The actual implementation of the metric function.
|
protected float |
MetaObjectParametricArray.getDistanceImpl(LocalAbstractObject obj,
float[] metaDistances,
float distThreshold)
The actual implementation of the metric function.
|
protected float |
MetaObjectParametricArrayTotalMin.getDistanceImpl(LocalAbstractObject obj,
float[] metaDistances,
float distThreshold)
The actual implementation of the metric function.
|
protected float |
MetaObjectParametricArrayWeightedSum.getDistanceImpl(LocalAbstractObject obj,
float[] metaDistances,
float distThreshold) |
protected float |
MetaObjectParametricMap.getDistanceImpl(LocalAbstractObject obj,
float[] metaDistances,
float distThreshold)
The actual implementation of the metric function.
|
protected float |
MetaObjectColor.getDistanceImpl(LocalAbstractObject obj,
float[] metaDistances,
float distThreshold) |
protected float |
MetaObjectCophirKeywords.MetaObjectCophirKeywordsDistCosine.getDistanceImpl(LocalAbstractObject obj,
float[] metaDistances,
float distThreshold) |
protected float |
MetaObjectPixMacSCT.getDistanceImpl(LocalAbstractObject obj,
float[] metaDistances,
float distThreshold) |
protected float |
MetaObjectPixMacShapeAndColor.getDistanceImpl(LocalAbstractObject obj,
float[] metaDistances,
float distThreshold) |
protected float |
MetaObjectProfiSCT.getDistanceImpl(LocalAbstractObject obj,
float[] metaDistances,
float distThreshold) |
protected float |
MetaObjectProfiSCT.MetaObjectProfiSCTKwDistJaccard.getDistanceImpl(LocalAbstractObject obj,
float[] metaDistances,
float distThreshold) |
protected float |
MetaObjectProfiSCT.MetaObjectProfiSCTKwDistCosine.getDistanceImpl(LocalAbstractObject obj,
float[] metaDistances,
float distThreshold) |
protected float |
MetaObjectProfiSCTiDIM.getDistanceImpl(LocalAbstractObject obj,
float[] metaDistances,
float distThreshold) |
protected float |
MetaObjectProfiSCTiDIM.MetaObjectProfiSCTiDIMKwDistCosine.getDistanceImpl(LocalAbstractObject obj,
float[] metaDistances,
float distThreshold) |
protected float |
MetaObjectSAPIRWeightedDist.getDistanceImpl(LocalAbstractObject obj,
float[] metaDistances,
float distThreshold) |
protected float |
MetaObjectSAPIRWeightedDist2.getDistanceImpl(LocalAbstractObject obj,
float[] metaDistances,
float distThreshold) |
protected float |
MetaObjectSAPIRWeightedDist3.getDistanceImpl(LocalAbstractObject obj,
float[] metaDistances,
float distThreshold) |
protected float |
MetaObjectShape.getDistanceImpl(LocalAbstractObject obj,
float[] metaDistances,
float distThreshold) |
protected float |
MetaObjectShapeAndColor.getDistanceImpl(LocalAbstractObject obj,
float[] metaDistances,
float distThreshold) |
protected float |
ObjectStringEditDist.getDistanceLowerBoundImpl(LocalAbstractObject obj,
int accuracy) |
protected float |
ObjectStringFINLP_Dist.getDistanceLowerBoundImpl(LocalAbstractObject obj,
int accuracy) |
protected float |
ObjectStringEditDist.getDistanceUpperBoundImpl(LocalAbstractObject obj,
int accuracy) |
protected float |
ObjectStringDNASeqDist.getDistanceUpperBoundImpl(LocalAbstractObject obj,
int accuracy) |
protected float |
ObjectStringFINLP_Dist.getDistanceUpperBoundImpl(LocalAbstractObject obj,
int accuracy) |
protected static float |
MetaObjectParametricArrayTotalMin.getMinNormDistanceToArray(LocalAbstractObject o1,
LocalAbstractObject o2,
float distThreshold)
Returns the normalized distance between object
o1 and o2 . |
static java.lang.StringBuffer |
MetaObjectSAPIR.XMLHandlerSAPIR.xmlFromColorLayoutType(java.lang.StringBuffer xmlString,
LocalAbstractObject object) |
static java.lang.StringBuffer |
MetaObjectSAPIR.XMLHandlerSAPIR.xmlFromColorStructureType(java.lang.StringBuffer xmlString,
LocalAbstractObject object) |
static java.lang.StringBuffer |
MetaObjectSAPIR.XMLHandlerSAPIR.xmlFromEdgeHistogramType(java.lang.StringBuffer xmlString,
LocalAbstractObject object) |
static java.lang.StringBuffer |
MetaObjectSAPIR.XMLHandlerSAPIR.xmlFromHomogeneousTextureType(java.lang.StringBuffer xmlString,
LocalAbstractObject object) |
static java.lang.StringBuffer |
MetaObjectSAPIR.XMLHandlerSAPIR.xmlFromScalableColorType(java.lang.StringBuffer xmlString,
LocalAbstractObject object) |
Modifier and Type | Method and Description |
---|---|
protected static java.lang.Class<? extends LocalAbstractObject>[] |
MetaObjectArray.createClassArray(int count,
java.lang.Class<? extends LocalAbstractObject> clazz)
Creates an array of
count clazz elements. |
Constructor and Description |
---|
MetaObjectArray(AbstractObjectKey objectKey,
LocalAbstractObject... objects)
Creates a new instance of MetaObjectArray.
|
MetaObjectArray(LocalAbstractObject... objects)
Creates a new instance of MetaObjectArray.
|
MetaObjectArray(java.lang.String locatorURI,
LocalAbstractObject... objects)
Creates a new instance of MetaObjectArray.
|
MetaObjectArrayWeightedSum(AbstractObjectKey objectKey,
LocalAbstractObject... objects)
Creates a new instance of MetaObjectArrayWeightedSum.
|
MetaObjectArrayWeightedSum(LocalAbstractObject... objects)
Creates a new instance of MetaObjectArrayWeightedSum.
|
MetaObjectArrayWeightedSum(java.lang.String locatorURI,
LocalAbstractObject... objects)
Creates a new instance of MetaObjectArrayWeightedSum.
|
MetaObjectFixedMap(java.lang.String[] keys,
LocalAbstractObject[] values,
java.lang.String locatorURI)
Create this meta object by (shallow) copying of data in given arrays.
|
MetaObjectFixedMap(java.lang.String key,
LocalAbstractObject value,
java.lang.String locatorURI)
Create this meta object from one key and value.
|
MetaObjectFixedMap(java.lang.String key,
LocalAbstractObject value,
java.lang.String locatorURI,
DistanceFunction<MetaObject> distance)
Create this meta object from one key and value and distance.
|
MetaObjectParametricArray(AbstractObjectKey objectKey,
java.util.Map<java.lang.String,? extends java.io.Serializable> additionalParameters,
LocalAbstractObject... objects)
Creates a new instance of MetaObjectArray.
|
MetaObjectParametricArray(java.util.Map<java.lang.String,? extends java.io.Serializable> additionalParameters,
LocalAbstractObject... objects)
Creates a new instance of MetaObjectArray.
|
MetaObjectParametricArray(java.lang.String locatorURI,
java.util.Map<java.lang.String,? extends java.io.Serializable> additionalParameters,
LocalAbstractObject... objects)
Creates a new instance of MetaObjectArray.
|
MetaObjectParametricArrayTotalMin(AbstractObjectKey objectKey,
java.util.Map<java.lang.String,? extends java.io.Serializable> additionalParameters,
LocalAbstractObject... objects)
Creates a new instance of MetaObjectParametricArrayTotalMin.
|
MetaObjectParametricArrayTotalMin(java.util.Map<java.lang.String,? extends java.io.Serializable> additionalParameters,
LocalAbstractObject... objects)
Creates a new instance of MetaObjectParametricArrayTotalMin.
|
MetaObjectParametricArrayTotalMin(java.lang.String locatorURI,
java.util.Map<java.lang.String,? extends java.io.Serializable> additionalParameters,
LocalAbstractObject... objects)
Creates a new instance of MetaObjectParametricArrayTotalMin.
|
MetaObjectParametricArrayWeightedSum(AbstractObjectKey objectKey,
java.util.Map<java.lang.String,? extends java.io.Serializable> additionalParameters,
LocalAbstractObject... objects)
Creates a new instance of MetaObjectParametricArrayWeightedSum.
|
MetaObjectParametricArrayWeightedSum(java.util.Map<java.lang.String,? extends java.io.Serializable> additionalParameters,
LocalAbstractObject... objects)
Creates a new instance of MetaObjectParametricArrayWeightedSum.
|
MetaObjectParametricArrayWeightedSum(java.lang.String locatorURI,
java.util.Map<java.lang.String,? extends java.io.Serializable> additionalParameters,
LocalAbstractObject... objects)
Creates a new instance of MetaObjectParametricArrayWeightedSum.
|
Constructor and Description |
---|
MetaObjectArray(java.io.BufferedReader stream,
java.lang.Class<? extends LocalAbstractObject> objectClass)
Creates a new instance of MetaObjectArray from the given text stream with array header.
|
MetaObjectArray(java.io.BufferedReader stream,
int objectCount,
java.lang.Class<? extends LocalAbstractObject> objectClass)
Creates a new instance of MetaObjectArray from the given text stream.
|
MetaObjectArray(java.lang.String locatorURI,
java.util.Collection<? extends LocalAbstractObject> objects)
Creates a new instance of MetaObjectArray that takes the objects from the given collection.
|
MetaObjectArray(java.lang.String locatorURI,
java.util.Map<java.lang.String,? extends LocalAbstractObject> objects,
java.lang.String... objectNames)
Creates a new instance of MetaObjectArray that takes the objects from the given map.
|
MetaObjectArrayWeightedSum(java.io.BufferedReader stream,
int objectCount,
java.lang.Class<? extends LocalAbstractObject> objectClass)
Creates a new instance of MetaObjectArrayWeightedSum from the given text stream.
|
MetaObjectArrayWeightedSum(java.lang.String locatorURI,
java.util.Map<java.lang.String,? extends LocalAbstractObject> objects,
java.lang.String... objectNames)
Creates a new instance of MetaObjectArrayWeightedSum that takes the objects from the given map.
|
MetaObjectColor(java.lang.String locatorURI,
java.util.Map<java.lang.String,? extends LocalAbstractObject> objects)
Creates a new instance of MetaObjectColor from the given map of objects.
|
MetaObjectColor(java.lang.String locatorURI,
java.util.Map<java.lang.String,LocalAbstractObject> objects,
boolean cloneObjects)
Creates a new instance of MetaObjectColor from the given map of objects.
|
MetaObjectCophirKeywords.MetaObjectCophirKeywordsWithTKStrings(java.lang.String locatorURI,
java.util.Map<java.lang.String,? extends LocalAbstractObject> objects,
java.lang.String[] keywordStrings)
Creates a new instance of MetaObjectCophirKeywordsWithTKStrings with the given encapsulated objects.
|
MetaObjectCophirKeywords(java.lang.String locatorURI,
java.util.Map<java.lang.String,? extends LocalAbstractObject> objects)
Creates a new instance of MetaObjectCophirKeywords with the given encapsulated objects.
|
MetaObjectCophirKeywords(java.lang.String locatorURI,
java.util.Map<java.lang.String,? extends LocalAbstractObject> objects,
java.lang.String[] keywordStrings)
Creates a new instance of MetaObjectCophirKeywords with the given encapsulated objects.
|
MetaObjectFixedMap(ArrayMap<java.lang.String,LocalAbstractObject> objects,
java.lang.String locatorURI)
Create this meta object by directly using given map.
|
MetaObjectFixedMap(ArrayMap<java.lang.String,LocalAbstractObject> objects,
java.lang.String locatorURI,
DistanceFunction<MetaObject> distance)
Create this meta object by directly using given map.
|
MetaObjectFixedMap(java.util.Map<java.lang.String,LocalAbstractObject> objects,
AbstractObjectKey objectKey)
Create this meta object by (shallow) copying of data in given map.
|
MetaObjectFixedMap(java.util.Map<java.lang.String,LocalAbstractObject> objects,
AbstractObjectKey objectKey,
DistanceFunction<MetaObject> distance)
Create this meta object by (shallow) copying of data in given map.
|
MetaObjectFixedMap(java.util.Map<java.lang.String,LocalAbstractObject> objects,
java.lang.String locatorURI)
Create this meta object by (shallow) copying of data in given map.
|
MetaObjectMap(AbstractObjectKey objectKey,
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)
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.
|
MetaObjectParametricArray(AbstractObjectKey objectKey,
java.util.Map<java.lang.String,? extends java.io.Serializable> additionalParameters,
java.util.Map<java.lang.String,? extends LocalAbstractObject> objects,
java.lang.String... objectNames)
Creates a new instance of MetaObjectArray that takes the objects from the given map.
|
MetaObjectParametricArray(java.io.BufferedReader stream,
java.util.Map<java.lang.String,? extends java.io.Serializable> additionalParameters,
int objectCount,
java.lang.Class<? extends LocalAbstractObject> objectClass)
Creates a new instance of MetaObjectArray from the given text stream.
|
MetaObjectParametricArray(java.lang.String locatorURI,
java.util.Map<java.lang.String,? extends java.io.Serializable> additionalParameters,
java.util.Collection<? extends LocalAbstractObject> objects)
Creates a new instance of MetaObjectArray that takes the objects from the given collection.
|
MetaObjectParametricArray(java.lang.String locatorURI,
java.util.Map<java.lang.String,? extends java.io.Serializable> additionalParameters,
java.util.Map<java.lang.String,? extends LocalAbstractObject> objects,
java.lang.String... objectNames)
Creates a new instance of MetaObjectArray that takes the objects from the given map.
|
MetaObjectParametricArrayTotalMin(java.io.BufferedReader stream,
java.util.Map<java.lang.String,? extends java.io.Serializable> additionalParameters,
int objectCount,
java.lang.Class<? extends LocalAbstractObject> objectClass)
Creates a new instance of MetaObjectParametricArrayTotalMin from the given text stream.
|
MetaObjectParametricArrayTotalMin(java.lang.String locatorURI,
java.util.Map<java.lang.String,? extends java.io.Serializable> additionalParameters,
java.util.Map<java.lang.String,? extends LocalAbstractObject> objects,
java.lang.String... objectNames)
Creates a new instance of MetaObjectParametricArrayTotalMin that takes the objects from the given map.
|
MetaObjectParametricArrayWeightedSum(AbstractObjectKey objectKey,
java.util.Map<java.lang.String,? extends java.io.Serializable> additionalParameters,
java.util.Map<java.lang.String,? extends LocalAbstractObject> objects,
java.lang.String... objectNames)
Creates a new instance of MetaObjectParametricArrayWeightedSum that takes the objects from the given map.
|
MetaObjectParametricArrayWeightedSum(java.io.BufferedReader stream,
java.util.Map<java.lang.String,? extends java.io.Serializable> additionalParameters,
int objectCount,
java.lang.Class<? extends LocalAbstractObject> objectClass)
Creates a new instance of MetaObjectParametricArrayWeightedSum from the given text stream.
|
MetaObjectParametricArrayWeightedSum(java.lang.String locatorURI,
java.util.Map<java.lang.String,? extends java.io.Serializable> additionalParameters,
java.util.Map<java.lang.String,? extends LocalAbstractObject> objects,
java.lang.String... objectNames)
Creates a new instance of MetaObjectParametricArrayWeightedSum that takes the objects from the given map.
|
MetaObjectParametricMap(java.util.Map<java.lang.String,? extends java.io.Serializable> additionalParameters,
java.util.Map<java.lang.String,LocalAbstractObject> objects)
Creates a new instance of MetaObjectParametricMap from a collection of named objects.
|
MetaObjectParametricMap(java.lang.String locatorURI,
java.util.Map<java.lang.String,? extends java.io.Serializable> additionalParameters,
java.util.Map<java.lang.String,LocalAbstractObject> objects)
Creates a new instance of MetaObjectParametricMap from a collection of named objects.
|
MetaObjectParametricMap(java.lang.String locatorURI,
java.util.Map<java.lang.String,? extends java.io.Serializable> additionalParameters,
java.util.Map<java.lang.String,LocalAbstractObject> objects,
boolean cloneObjects)
Creates a new instance of MetaObjectParametricMap from a collection of named objects.
|
MetaObjectParametricShapeAndColor(java.lang.String locatorURI,
java.util.Map<java.lang.String,? extends java.io.Serializable> additionalParameters,
java.util.Map<java.lang.String,? extends LocalAbstractObject> objects)
Creates a new instance of MetaObjectParametricShapeAndColor with the given encapsulated objects.
|
MetaObjectParametricShapeColorAndText(AbstractObjectKey objectKey,
java.util.Map<java.lang.String,? extends java.io.Serializable> additionalParameters,
java.util.Map<java.lang.String,? extends LocalAbstractObject> objects)
Creates a new instance of MetaObjectParametricShapeColorAndText.
|
MetaObjectParametricShapeColorAndText(java.lang.String locatorURI,
java.util.Map<java.lang.String,? extends java.io.Serializable> additionalParameters,
java.util.Map<java.lang.String,? extends LocalAbstractObject> objects)
Creates a new instance of MetaObjectParametricShapeColorAndText.
|
MetaObjectPixMacSCT(java.lang.String locatorURI,
java.util.Map<java.lang.String,? extends LocalAbstractObject> objects,
short attractiveness,
byte credits)
Creates a new instance of MetaObjectPixMacSCT from the given key and encapsulated objects.
|
MetaObjectPixMacSCT(java.lang.String locatorURI,
java.util.Map<java.lang.String,LocalAbstractObject> objects,
boolean cloneObjects,
short attractiveness,
byte credits)
Creates a new instance of MetaObjectPixMacSCT from the given key and encapsulated objects.
|
MetaObjectPixMacShapeAndColor(java.lang.String locatorURI,
java.util.Map<java.lang.String,? extends LocalAbstractObject> objects)
Creates a new instance of MetaObjectPixMacShapeAndColor from the given key and encapsulated objects.
|
MetaObjectPixMacShapeAndColor(java.lang.String locatorURI,
java.util.Map<java.lang.String,LocalAbstractObject> objects,
boolean cloneObjects)
Creates a new instance of MetaObjectPixMacShapeAndColor from the given key and encapsulated objects.
|
MetaObjectProfiSCT(java.lang.String locatorURI,
java.util.Map<java.lang.String,? extends LocalAbstractObject> objects,
MetaObjectProfiSCT.Rights rights,
java.util.EnumSet<MetaObjectProfiSCT.Territory> territories,
int added,
int archiveID,
int[] attractiveness)
Creates a new instance of MetaObjectProfiSCT from the given key and encapsulated objects.
|
MetaObjectProfiSCTiDIM(java.lang.String locatorURI,
java.util.Map<java.lang.String,? extends LocalAbstractObject> objects,
MetaObjectProfiSCT.Rights rights,
java.util.EnumSet<MetaObjectProfiSCT.Territory> territories,
int added,
int archiveID,
int[] attractiveness) |
MetaObjectSAPIR(java.lang.String locatorURI,
java.util.Map<java.lang.String,LocalAbstractObject> objects) |
MetaObjectSAPIR(java.lang.String locatorURI,
java.util.Map<java.lang.String,LocalAbstractObject> objects,
boolean cloneObjects) |
MetaObjectSAPIRWeightedDist(java.lang.String locatorURI,
java.util.Map<java.lang.String,LocalAbstractObject> objects) |
MetaObjectSAPIRWeightedDist(java.lang.String locatorURI,
java.util.Map<java.lang.String,LocalAbstractObject> objects,
boolean cloneObjects) |
MetaObjectSAPIRWeightedDist2(java.lang.String locatorURI,
java.util.Map<java.lang.String,LocalAbstractObject> objects) |
MetaObjectSAPIRWeightedDist2(java.lang.String locatorURI,
java.util.Map<java.lang.String,LocalAbstractObject> objects,
boolean cloneObjects) |
MetaObjectSAPIRWeightedDist3(java.lang.String locatorURI,
java.util.Map<java.lang.String,LocalAbstractObject> objects) |
MetaObjectSAPIRWeightedDist3(java.lang.String locatorURI,
java.util.Map<java.lang.String,LocalAbstractObject> objects,
boolean cloneObjects) |
MetaObjectShape(java.lang.String locatorURI,
java.util.Map<java.lang.String,? extends LocalAbstractObject> objects)
Creates a new instance of MetaObjectShape from the given map of objects.
|
MetaObjectShape(java.lang.String locatorURI,
java.util.Map<java.lang.String,LocalAbstractObject> objects,
boolean cloneObjects)
Creates a new instance of MetaObjectShape with the given locator and encapsulated objects.
|
MetaObjectShapeAndColor(java.lang.String locatorURI,
java.util.Map<java.lang.String,? extends LocalAbstractObject> objects)
Creates a new instance of MetaObjectShapeAndColor from the given map of objects.
|
MetaObjectShapeAndColor(java.lang.String locatorURI,
java.util.Map<java.lang.String,LocalAbstractObject> objects,
boolean cloneObjects)
Creates a new instance of MetaObjectShapeAndColor from the given map of objects.
|
Modifier and Type | Interface and Description |
---|---|
interface |
TextDescriptorFactory<T extends LocalAbstractObject>
Provides factory method for creating textual descriptor objects.
|
Modifier and Type | Class and Description |
---|---|
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. |
Modifier and Type | Field and Description |
---|---|
protected E |
StreamGenericAbstractObjectIterator.currentObject
Instance of the current object
|
protected E |
StreamGenericAbstractObjectIterator.nextObject
Instance of a next object.
|
Modifier and Type | Method and Description |
---|---|
<T extends 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.
|
static <T extends LocalAbstractObject> |
AbstractObjectIterator.emptyIterator()
Returns an iterator on a single object.
|
static <T extends LocalAbstractObject> |
AbstractObjectIterator.getIterator(java.util.Iterator<T> iterator)
Returns an AbstractObjectItator created over a standard iterator.
|
static <T extends LocalAbstractObject> |
AbstractObjectIterator.singleton(T object)
Returns an iterator on a single object.
|
Modifier and Type | Method and Description |
---|---|
static RankedSortedDistFunctionCollection<LocalAbstractObject> |
RankedSortedDistFunctionCollection.create(LocalAbstractObject rankingObject,
float originalDistanceWeight,
boolean rankInAdd,
int initialCapacity,
int maximalCapacity)
Creates an empty collection with the specified initial and maximal capacity.
|
Modifier and Type | Method and Description |
---|---|
static RankedSortedDistFunctionCollection<LocalAbstractObject> |
RankedSortedDistFunctionCollection.create(LocalAbstractObject rankingObject,
float originalDistanceWeight,
boolean rankInAdd,
int initialCapacity,
int maximalCapacity)
Creates an empty collection with the specified initial and maximal capacity.
|
float |
SequenceMatchingCost.getCost(LocalAbstractObject obj1,
LocalAbstractObject obj2)
Computes cost corresponding to the distance computed between the passed objects.
|
E |
AbstractObjectIterator.getObjectByData(LocalAbstractObject object)
Returns the first instance of object, that has data equal to the provided object.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
RankedAbstractObject(LocalAbstractObject referenceObject,
LocalAbstractObject object)
Creates a new instance of RankedAbstractObject by measuring an object's distance from the reference object.
|
RankedJoinObject(LocalAbstractObject leftObject,
LocalAbstractObject rightObject)
Creates a new instance of RankedJoinObject by measuring the objects' distance online.
|
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 . |
RankedSortedNoThresholdCollection(LocalAbstractObject referenceObject,
java.util.Iterator<? extends LocalAbstractObject> iterator)
Creates a new collection filled with objects provided by the
iterator . |
RankedSortedNoThresholdCollection(LocalAbstractObject referenceObject,
ObjectProvider<? extends LocalAbstractObject> objectProvider)
Creates a new collection filled with objects provided by the
objectProvider . |
Constructor and Description |
---|
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 . |
RankedSortedNoThresholdCollection(LocalAbstractObject referenceObject,
java.util.Iterator<? extends LocalAbstractObject> iterator)
Creates a new collection filled with objects provided by the
iterator . |
RankedSortedNoThresholdCollection(LocalAbstractObject referenceObject,
ObjectProvider<? extends LocalAbstractObject> objectProvider)
Creates a new collection filled with objects provided by the
objectProvider . |
Modifier and Type | Method and Description |
---|---|
LocalAbstractObject |
RankingSingleQueryOperation.getQueryObject()
Returns the single object that the answer is ranked to.
|
LocalAbstractObject |
RankingMultiQueryOperation.getQueryObject(int index)
Returns the given query object of this operation.
|
static LocalAbstractObject[] |
RankingMultiQueryOperation.loadObjects(java.util.Iterator<? extends LocalAbstractObject> iterator,
int count)
Creates an array of
LocalAbstractObject s from the given iterator. |
static LocalAbstractObject[] |
RankingMultiQueryOperation.toObjectArray(java.lang.Object objects)
Creates an array of
LocalAbstractObject s from a given instance. |
Modifier and Type | Method and Description |
---|---|
DistanceFunctionMultiObject<? super LocalAbstractObject> |
RankingMultiQueryOperation.getDistanceFunction()
Returns the distance function for computing the distances between a data object and all query objects.
|
java.util.Collection<? extends LocalAbstractObject> |
RankingMultiQueryOperation.getQueryObjects()
Returns the query objects of this operation.
|
Modifier and Type | Method and Description |
---|---|
RankedAbstractObject |
RankingMultiQueryOperation.addToAnswer(LocalAbstractObject object)
Adds an object to the answer.
|
RankedAbstractObject |
RankingSingleQueryOperation.addToAnswer(LocalAbstractObject object)
Adds an object to the answer.
|
RankedAbstractObject |
RankingMultiQueryOperation.addToAnswer(LocalAbstractObject object,
float distThreshold)
Adds an object to the answer.
|
RankedAbstractObject |
RankingSingleQueryOperation.addToAnswer(LocalAbstractObject object,
float distThreshold)
Adds an object to the answer.
|
protected RankedAbstractObject |
RankingMultiQueryOperation.addToAnswerInternal(LocalAbstractObject object,
float[] individualDistances,
float distThreshold)
Adds an object to the answer.
|
static <E extends RankingMultiQueryOperation> |
RankingMultiQueryOperation.createOperation(java.lang.Class<E> operationClass,
LocalAbstractObject[] queryObjects,
java.lang.Object... arguments)
Creates a new ranking multi-query operation of the specified class.
|
static <E extends RankingSingleQueryOperation> |
RankingSingleQueryOperation.createOperation(java.lang.Class<E> operationClass,
LocalAbstractObject queryObject,
java.lang.Object... arguments)
Creates a new ranking single-query operation of the specified class.
|
Modifier and Type | Method and Description |
---|---|
abstract int |
QueryOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects)
Evaluate this query on a given set of objects.
|
static <T> java.util.Iterator<? extends T> |
QueryOperation.getQueryAnswer(AbstractObjectIterator<? extends LocalAbstractObject> objects,
java.lang.Class<? extends QueryOperation<? extends T>> operationClass,
java.lang.Object... arguments)
Execute query operation on the given objects iterator and return the answer.
|
static LocalAbstractObject[] |
RankingMultiQueryOperation.loadObjects(java.util.Iterator<? extends LocalAbstractObject> iterator,
int count)
Creates an array of
LocalAbstractObject s from the given iterator. |
Constructor and Description |
---|
RankingMultiQueryOperation(LocalAbstractObject[] queryObjects,
DistanceFunctionMultiObject<? super LocalAbstractObject> distanceFunction)
Creates a new instance of RankingMultiQueryOperation.
|
RankingMultiQueryOperation(LocalAbstractObject[] queryObjects,
DistanceFunctionMultiObject<? super LocalAbstractObject> distanceFunction,
boolean storeIndividualDistances)
Creates a new instance of RankingMultiQueryOperation.
|
RankingMultiQueryOperation(LocalAbstractObject[] queryObjects,
DistanceFunctionMultiObject<? super LocalAbstractObject> distanceFunction,
boolean storeIndividualDistances,
AnswerType answerType)
Creates a new instance of RankingMultiQueryOperation.
|
RankingMultiQueryOperation(LocalAbstractObject[] queryObjects,
DistanceFunctionMultiObject<? super LocalAbstractObject> distanceFunction,
boolean storeIndividualDistances,
AnswerType answerType,
int maxAnswerSize)
Creates a new instance of RankingMultiQueryOperation.
|
RankingMultiQueryOperation(LocalAbstractObject[] queryObjects,
DistanceFunctionMultiObject<? super LocalAbstractObject> distanceFunction,
boolean storeIndividualDistances,
AnswerType answerType,
RankedSortedCollection answerCollection)
Creates a new instance of RankingMultiQueryOperation.
|
RankingSingleQueryOperation(LocalAbstractObject queryObject)
Creates a new instance of RankingSingleQueryOperation.
|
RankingSingleQueryOperation(LocalAbstractObject queryObject,
AnswerType answerType,
boolean storeMetaDistances)
Creates a new instance of RankingSingleQueryOperation.
|
RankingSingleQueryOperation(LocalAbstractObject queryObject,
AnswerType answerType,
int maxAnswerSize)
Creates a new instance of RankingSingleQueryOperation.
|
RankingSingleQueryOperation(LocalAbstractObject queryObject,
AnswerType answerType,
int maxAnswerSize,
boolean storeMetaDistances)
Creates a new instance of RankingSingleQueryOperation.
|
RankingSingleQueryOperation(LocalAbstractObject queryObject,
AnswerType answerType,
RankedSortedCollection answerCollection,
boolean storeMetaDistances)
Creates a new instance of RankingSingleQueryOperation.
|
RankingSingleQueryOperation(LocalAbstractObject queryObject,
int maxAnswerSize)
Creates a new instance of RankingSingleQueryOperation.
|
Constructor and Description |
---|
RankingMultiQueryOperation(LocalAbstractObject[] queryObjects,
DistanceFunctionMultiObject<? super LocalAbstractObject> distanceFunction)
Creates a new instance of RankingMultiQueryOperation.
|
RankingMultiQueryOperation(LocalAbstractObject[] queryObjects,
DistanceFunctionMultiObject<? super LocalAbstractObject> distanceFunction,
boolean storeIndividualDistances)
Creates a new instance of RankingMultiQueryOperation.
|
RankingMultiQueryOperation(LocalAbstractObject[] queryObjects,
DistanceFunctionMultiObject<? super LocalAbstractObject> distanceFunction,
boolean storeIndividualDistances,
AnswerType answerType)
Creates a new instance of RankingMultiQueryOperation.
|
RankingMultiQueryOperation(LocalAbstractObject[] queryObjects,
DistanceFunctionMultiObject<? super LocalAbstractObject> distanceFunction,
boolean storeIndividualDistances,
AnswerType answerType,
int maxAnswerSize)
Creates a new instance of RankingMultiQueryOperation.
|
RankingMultiQueryOperation(LocalAbstractObject[] queryObjects,
DistanceFunctionMultiObject<? super LocalAbstractObject> distanceFunction,
boolean storeIndividualDistances,
AnswerType answerType,
RankedSortedCollection answerCollection)
Creates a new instance of RankingMultiQueryOperation.
|
Modifier and Type | Field and Description |
---|---|
protected LocalAbstractObject |
InsertOperation.insertedObject
Inserted object
|
Modifier and Type | Method and Description |
---|---|
LocalAbstractObject |
DeleteOperationLegacy.getDeletedObject()
Returns the object against which to match the deleted objects.
|
LocalAbstractObject |
InsertOperation.getInsertedObject()
Returns the object being inserted.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<? 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.
|
java.util.List<LocalAbstractObject> |
DeleteOperationLegacy.getObjects()
Returns the list of all actually deleted objects.
|
java.util.List<LocalAbstractObject> |
DeleteOperation.getObjectsToDelete()
Returns the objects against which to match the deleted objects.
|
Modifier and Type | Method and Description |
---|---|
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.
|
void |
DeleteOperationLegacy.addDeletedObject(LocalAbstractObject deletedObject)
Mark the specified object as deleted by this operation.
|
Constructor and Description |
---|
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.
|
DeleteOperationLegacy(LocalAbstractObject deletedObject)
Creates a new instance of DeleteOperation.
|
DeleteOperationLegacy(LocalAbstractObject deletedObject,
int deleteLimit)
Creates a new instance of DeleteOperation.
|
DeleteOperationLegacy(LocalAbstractObject deletedObject,
int deleteLimit,
boolean checkLocator)
Creates a new instance of DeleteOperation.
|
InsertOperation(LocalAbstractObject insertedObject)
Creates a new instance of InsertOperation.
|
Constructor and Description |
---|
BulkInsertOperation(java.util.Collection<? extends LocalAbstractObject> insertedObjects)
Creates a new instance of BulkInsertOperation.
|
BulkInsertOperation(java.util.Collection<? extends LocalAbstractObject> insertedObjects,
boolean permitEmpty)
Creates a new instance of BulkInsertOperation.
|
BulkInsertOperation(java.util.Iterator<? extends LocalAbstractObject> insertedObjects)
Creates a new instance of BulkInsertOperation from all objects provided by the iterator.
|
BulkInsertOperation(java.util.Iterator<? extends LocalAbstractObject> objectsIterator,
int count)
Creates a new instance of BulkInsertOperation.
|
BulkInsertOperation(java.util.Iterator<? extends LocalAbstractObject> objectsIterator,
int count,
boolean permitEmpty)
Creates a new instance of BulkInsertOperation.
|
BulkInsertOperation(java.util.List<? extends LocalAbstractObject> insertedObjects,
boolean permitEmpty)
Creates a new instance of BulkInsertOperation.
|
DeleteOperation(java.util.List<LocalAbstractObject> deletedObject,
int deleteLimit,
boolean checkLocator)
Creates a new instance of DeleteOperation.
|
Modifier and Type | Method and Description |
---|---|
RankedAbstractObject |
IncrementalNNQueryOperation.addToAnswer(LocalAbstractObject object,
float distThreshold) |
RankedAbstractObject |
PartitionedKNNQueryOperation.addToAnswer(LocalAbstractObject object,
float distThreshold) |
RankedAbstractObject |
PartitionedRangeQueryOperation.addToAnswer(LocalAbstractObject object,
float distThreshold) |
RankedJoinObject |
JoinQueryOperation.addToAnswer(LocalAbstractObject leftObject,
LocalAbstractObject rightObject)
Add a new pair of objects to the answer.
|
RankedJoinObject |
JoinQueryOperation.addToAnswer(LocalAbstractObject leftObject,
LocalAbstractObject rightObject,
float distThreshold)
Add a new pair of objects to the answer.
|
RankedJoinObject |
JoinQueryOperation.addToAnswer(LocalAbstractObject leftObject,
LocalAbstractObject rightObject,
float distance,
float distThreshold)
Add a new pair of objects to the answer.
|
Modifier and Type | Method and Description |
---|---|
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 |
GetObjectsByLocatorPrefixOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> 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 |
JoinQueryOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects)
Evaluate this query on a given set of objects.
|
int |
KNNMultiQueryOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects) |
int |
KNNQueryByLocatorOperation.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 |
RangeMultiQueryOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects) |
int |
RangeQueryOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects)
Evaluate this query on a given set of objects.
|
int |
QuantizeOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects) |
int |
RangeJoinQueryOperation.evaluate(AbstractObjectIterator<? extends LocalAbstractObject> objects)
Evaluate this join query on a given set of objects.
|
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 |
---|
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,
Approximate.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,
Approximate.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,
Approximate.LocalSearchType localSearchType,
float radiusGuaranteed,
RankedSortedCollection answerCollection)
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,
Approximate.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,
Approximate.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 maxAnswerSize,
AnswerType answerType,
int localSearchParam,
Approximate.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 maxAnswerSize,
AnswerType answerType,
int localSearchParam,
Approximate.LocalSearchType localSearchType,
float radiusGuaranteed,
RankedSortedCollection answerCollection)
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,
Approximate.LocalSearchType localSearchType,
float radiusGuaranteed)
Creates a new instance of ApproxRangeQueryOperation for a given query object,
radius and parameters that control the approximation.
|
GetObjectsByLocatorPrefixOperation(java.lang.String locatorPrefix,
LocalAbstractObject queryObjectForDistances)
Create a new instance of GetObjectsByLocatorPrefixOperation with the specified locator prefix.
|
GetObjectsByLocatorPrefixOperation(java.lang.String locatorPrefix,
LocalAbstractObject queryObjectForDistances,
AnswerType answerType)
Create a new instance of GetObjectsByLocatorPrefixOperation with the specified locator prefix.
|
GetObjectsByLocatorPrefixOperation(java.lang.String locatorPrefix,
LocalAbstractObject queryObjectForDistances,
AnswerType answerType,
int maxAnswerSize)
Create a new instance of GetObjectsByLocatorPrefixOperation with the specified locator prefix.
|
GetObjectsByLocatorsOperation(java.lang.Iterable<?> locators,
LocalAbstractObject queryObjectForDistances)
Create a new instance of GetObjectsByLocatorsOperation with the specified locators.
|
GetObjectsByLocatorsOperation(java.lang.Iterable<?> locators,
LocalAbstractObject queryObjectForDistances,
AnswerType answerType)
Create a new instance of GetObjectsByLocatorsOperation with the specified locators.
|
GetObjectsByLocatorsOperation(java.lang.Iterable<?> 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.
|
KNNMultiQueryOperation(LocalAbstractObject[] queryObjects,
int k)
Creates a new instance of KNNMultiQueryOperation for given query objects and maximal number of objects to return.
|
KNNMultiQueryOperation(LocalAbstractObject[] queryObjects,
int k,
AnswerType answerType,
DistanceFunctionMultiObject<? super LocalAbstractObject> distanceFunction)
Creates a new instance of KNNMultiQueryOperation for given query objects and maximal number of objects to return.
|
KNNMultiQueryOperation(LocalAbstractObject[] queryObjects,
int k,
boolean storedIndividualDistances,
AnswerType answerType,
DistanceFunctionMultiObject<? super LocalAbstractObject> distanceFunction)
Creates a new instance of KNNMultiQueryOperation for given query objects and maximal number of objects to return.
|
KNNMultiQueryOperation(LocalAbstractObject[] queryObjects,
int k,
DistanceFunctionMultiObject<? super LocalAbstractObject> distanceFunction)
Creates a new instance of KNNMultiQueryOperation for given query objects and maximal number of objects to return.
|
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.
|
KNNQueryOperation(LocalAbstractObject queryObject,
int k,
boolean storeMetaDistances,
AnswerType answerType,
RankedSortedCollection answerCollection)
Creates a new instance of kNNQueryOperation for a given query object and maximal number of objects to return.
|
PartitionedKNNQueryOperation(LocalAbstractObject queryObject,
int k)
Creates a new instance of KNNQueryOperation given the query object and radius.
|
PartitionedKNNQueryOperation(LocalAbstractObject queryObject,
int k,
AnswerType answerType)
Creates a new instance of KNNQueryOperation given the query object, radius and specifying the answer type.
|
PartitionedRangeQueryOperation(LocalAbstractObject queryObject,
float radius)
Creates a new instance of RangeQueryOperation given the query object and radius.
|
QuantizeOperation(LocalAbstractObject[] objects)
Creates a new instance of QuantizeOperation for given objects.
|
RangeMultiQueryOperation(LocalAbstractObject[] queryObjects,
float radius)
Creates a new instance of RangeMultiQueryOperation for given query objects and radius.
|
RangeMultiQueryOperation(LocalAbstractObject[] queryObjects,
float radius,
AnswerType answerType,
DistanceFunctionMultiObject<? super LocalAbstractObject> distanceFunction)
Creates a new instance of RangeMultiQueryOperation for given query objects and radius.
|
RangeMultiQueryOperation(LocalAbstractObject[] queryObjects,
float radius,
boolean storedIndividualDistances,
AnswerType answerType,
DistanceFunctionMultiObject<? super LocalAbstractObject> distanceFunction)
Creates a new instance of RangeMultiQueryOperation for given query objects and radius.
|
RangeMultiQueryOperation(LocalAbstractObject[] queryObjects,
float radius,
DistanceFunctionMultiObject<? super LocalAbstractObject> distanceFunction)
Creates a new instance of RangeMultiQueryOperation for given query objects and radius.
|
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,
AnswerType answerType,
int maxAnswerSize,
boolean storeMetaDistances,
RankedSortedCollection answerCollection)
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 RankingQueryOperation> initialSAQueryClass,
AggregationFunction aggregationFunction)
Creates a new instance of TopCombinedQueryOperation.
|
Constructor and Description |
---|
KNNMultiQueryOperation(LocalAbstractObject[] queryObjects,
int k,
AnswerType answerType,
DistanceFunctionMultiObject<? super LocalAbstractObject> distanceFunction)
Creates a new instance of KNNMultiQueryOperation for given query objects and maximal number of objects to return.
|
KNNMultiQueryOperation(LocalAbstractObject[] queryObjects,
int k,
boolean storedIndividualDistances,
AnswerType answerType,
DistanceFunctionMultiObject<? super LocalAbstractObject> distanceFunction)
Creates a new instance of KNNMultiQueryOperation for given query objects and maximal number of objects to return.
|
KNNMultiQueryOperation(LocalAbstractObject[] queryObjects,
int k,
DistanceFunctionMultiObject<? super LocalAbstractObject> distanceFunction)
Creates a new instance of KNNMultiQueryOperation for given query objects and maximal number of objects to return.
|
QuantizeOperation(java.util.Iterator<? extends LocalAbstractObject> objectsIterator,
int count)
Creates a new instance of QuantizeOperation.
|
RangeMultiQueryOperation(LocalAbstractObject[] queryObjects,
float radius,
AnswerType answerType,
DistanceFunctionMultiObject<? super LocalAbstractObject> distanceFunction)
Creates a new instance of RangeMultiQueryOperation for given query objects and radius.
|
RangeMultiQueryOperation(LocalAbstractObject[] queryObjects,
float radius,
boolean storedIndividualDistances,
AnswerType answerType,
DistanceFunctionMultiObject<? super LocalAbstractObject> distanceFunction)
Creates a new instance of RangeMultiQueryOperation for given query objects and radius.
|
RangeMultiQueryOperation(LocalAbstractObject[] queryObjects,
float radius,
DistanceFunctionMultiObject<? super LocalAbstractObject> distanceFunction)
Creates a new instance of RangeMultiQueryOperation for given query objects and radius.
|
Modifier and Type | Field and Description |
---|---|
protected LocalAbstractObject |
CoveragePivotChooser.Ball.pivot
Center of the ball
|
Modifier and Type | Field and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
protected LocalAbstractObject |
SimpleClusterPivotChooser.assignToPivot(LocalAbstractObject object)
Searches all the currently selected pivots for a pivot, where
the object can be accumulated.
|
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 |
KMeansPivotChooser.CenterThread.getClustroid() |
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.
|
Modifier and Type | Method and Description |
---|---|
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
|
java.util.Iterator<AbstractObjectList<LocalAbstractObject>> |
KMeansPivotChooser.iteratorPartitions() |
Modifier and Type | Method and Description |
---|---|
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.
|
protected LocalAbstractObject |
SimpleClusterPivotChooser.assignToPivot(LocalAbstractObject object)
Searches all the currently selected pivots for a pivot, where
the object can be accumulated.
|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractPivotChooser.deregisterSampleProvider(ObjectProvider<? extends LocalAbstractObject> provider)
Removes registration of a sample set provider that was previously registered
(others are silently ignored).
|
protected abstract void |
KMeansPivotChooser.CenterThread.obtainCenter(AbstractObjectList<LocalAbstractObject> samplePivots)
Compute/find new centroid/center and assign it to @{link #clustroid}.
|
protected void |
KMeansPivotChooser.ComputeCentroidThread.obtainCenter(AbstractObjectList<LocalAbstractObject> samplePivots) |
protected void |
KMeansPivotChooser.SelectClustroidThread.obtainCenter(AbstractObjectList<LocalAbstractObject> samplePivots) |
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 |
FilteredRandomPivotChooser.selectPivot(int count,
AbstractObjectIterator<? extends LocalAbstractObject> sampleSetIterator)
Method for selecting pivots and appending to the list of pivots.
|
protected void |
HierarchicalKMeansPivotChooser.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 |
SimpleClusterPivotChooser.selectPivot(int count,
AbstractObjectIterator<? extends LocalAbstractObject> sampleSetIterator) |
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 pivots and
add them by
addPivot method. |
Constructor and Description |
---|
ClusterPivotChooser.Cluster(int id,
LocalAbstractObject object)
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.CenterThread(AbstractObjectList<LocalAbstractObject> cluster,
LocalAbstractObject originalPivot)
Creates a new thread for computing the "center" of a cluster.
|
KMeansPivotChooser.ComputeCentroidThread(AbstractObjectList<LocalAbstractObject> cluster,
LocalAbstractObject originalPivot) |
KMeansPivotChooser.SelectClustroidThread(AbstractObjectList<LocalAbstractObject> cluster,
LocalAbstractObject originalPivot)
Creates a new SelectClustroidThread for computing the "center" of a cluster.
|
Constructor and Description |
---|
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.
|
KMeansComputedPivotChooser(AbstractObjectList<LocalAbstractObject> initialPivots) |
KMeansPivotChooser.CenterThread(AbstractObjectList<LocalAbstractObject> cluster,
LocalAbstractObject originalPivot)
Creates a new thread for computing the "center" of a cluster.
|
KMeansPivotChooser.ComputeCentroidThread(AbstractObjectList<LocalAbstractObject> cluster,
LocalAbstractObject originalPivot) |
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.
|
Modifier and Type | Field and Description |
---|---|
protected LocalAbstractObject |
VoronoiPartitioning.VoronoiPartition.center |
Modifier and Type | Method and Description |
---|---|
LocalAbstractObject |
VoronoiPartitioning.VoronoiPartition.getCenter() |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<LocalAbstractObject> |
VoronoiPartitioning.VoronoiPartition.getMembers() |
Modifier and Type | Method and Description |
---|---|
boolean |
VoronoiPartitioning.VoronoiPartition.addMember(LocalAbstractObject obj) |
int[] |
RecursiveVoronoiPartitioning.getCellIndex(LocalAbstractObject dataObject)
Identify the closest pivot in the partitoning, so a corresponding Voronoi cell is returned.
|
int |
VoronoiPartitioning.getCellIndex(LocalAbstractObject dataObject)
Identify the closest pivot in the partitoning, so a corresponding Voronoi cell is returned.
|
static int |
VoronoiPartitioning.getClosestPivotIndex(AbstractPivotChooser chooser,
LocalAbstractObject dataObject)
Identify the closest pivot in the passed pivot chooser, so a corresponding Voronoi cell can be populated.
|
static long[] |
VoronoiPartitioning.getKClosestPivotsIndexes(AbstractPivotChooser chooser,
int k,
LocalAbstractObject dataObject)
Identify the "k" closest pivots in the passed pivot chooser, so corresponding Voronoi cells can be identified (and somehow processed).
|
Modifier and Type | Method and Description |
---|---|
static float |
SilhouetteIndex.compute(AbstractObjectList<LocalAbstractObject> database,
short[] clusterIds,
int clusterCnt)
Compute silhouette index.
|
static float |
RandIndex.computeAdjustedRandIndex(AbstractObjectList<LocalAbstractObject> database,
short[] clusterIds,
int clusterCnt,
short[] clusterIds2,
int clusterCnt2)
Compute Adjusted Rand index.
|
static float |
RandIndex.computeRandIndex(AbstractObjectList<LocalAbstractObject> database,
short[] clusterIds,
int clusterCnt,
RandIndex.CategoryExtractor extract)
Compute Rand index.
|
static void |
RandIndex.computeUnsupervisedAdjustedAndOriginalRandIndex(AbstractObjectList<LocalAbstractObject> database,
short[] clusterIds,
int clusterCnt,
short[] randomClusterIds,
int randomClusterCnt,
float[] thresholds) |
static void |
RandIndex.computeUnsupervisedAdjustedRandIndex(AbstractObjectList<LocalAbstractObject> database,
short[] clusterIds,
int clusterCnt,
short[] randomClusterIds,
int randomClusterCnt,
float[] thresholds) |
static float |
RandIndex.computeUnsupervisedAdjustedRandIndexObsolete(AbstractObjectList<LocalAbstractObject> database,
short[] clusterIds,
int clusterCnt,
float similarityDistanceThrehold,
float dissimilarityDistanceThreshold)
Deprecated.
The computation of ground truth is not correctly done (multi-label assigment), so the prerequisites of partitioning are not
satisfied here. It results to unpredictable results (larger than one, smaller than zero).
|
static float |
RandIndex.computeUnsupervisedDisaIndex(AbstractObjectList<LocalAbstractObject> database,
short[] clusterIds,
int clusterCnt,
float similarityDistanceThrehold,
float dissimilarityDistanceThreshold)
Compute Unsupervised "DISA lab" index.
|
static void |
RandIndex.computeUnsupervisedRandIndex(AbstractObjectList<LocalAbstractObject> database,
short[] clusterIds,
int clusterCnt,
float[] thresholds)
Compute Unsupervised Rand index.
|
static float |
NearestNeighborConsistency.consistencyNN(AbstractObjectList<LocalAbstractObject> database,
short[] clusterIds)
Consistency of nearest neighbors in the original space (database) and the resulting clustering (clusterIds).
|
static VoronoiPartitioning.Result |
VoronoiPartitioning.doVoronoiPartitioning(AbstractPivotChooser chooser,
AbstractObjectList<LocalAbstractObject> dataObjects)
Partition the passed data into Voronoi cells.
|
static VoronoiPartitioning.Result |
VoronoiPartitioning.doVoronoiPartitioning(java.util.Iterator<LocalAbstractObject> pivotsIterator,
int pivotCount,
AbstractObjectList<LocalAbstractObject> dataObjects)
Partition the passed data into Voronoi cells.
|
static VoronoiPartitioning.Result |
VoronoiPartitioning.doVoronoiPartitioning(java.util.Iterator<LocalAbstractObject> pivotsIterator,
int pivotCount,
AbstractObjectList<LocalAbstractObject> dataObjects)
Partition the passed data into Voronoi cells.
|
static VoronoiPartitioning.Result |
RecursiveVoronoiPartitioning.doVoronoiPartitioning(java.util.Iterator<LocalAbstractObject> pivotsIterator,
java.lang.String strPivotCounts,
AbstractObjectList<LocalAbstractObject> dataObjects)
Partition the passed data into Voronoi cells.
|
static VoronoiPartitioning.Result |
RecursiveVoronoiPartitioning.doVoronoiPartitioning(java.util.Iterator<LocalAbstractObject> pivotsIterator,
java.lang.String strPivotCounts,
AbstractObjectList<LocalAbstractObject> dataObjects)
Partition the passed data into Voronoi cells.
|
short[] |
RecursiveVoronoiPartitioning.insertObjects(AbstractObjectList<LocalAbstractObject> dataObjects)
Insert the passed objects into the partitioning.
|
short[] |
VoronoiPartitioning.insertObjects(AbstractObjectList<LocalAbstractObject> dataObjects)
Insert the passed objects into the partitioning.
|
Constructor and Description |
---|
VoronoiPartitioning.VoronoiPartition(LocalAbstractObject center) |
Constructor and Description |
---|
DistanceMatrix(AbstractObjectList<LocalAbstractObject> database) |
DistanceMatrix(AbstractObjectList<LocalAbstractObject> database,
boolean fullMatrix) |
RecursiveVoronoiPartitioning(java.util.Iterator<LocalAbstractObject> pivotsIterator,
java.lang.String strPivotCounts)
Initialize the partitioning with the passed pivots
|
VoronoiPartitioning(java.util.Iterator<LocalAbstractObject> pivotsIterator,
int cnt)
Initialize the partitioning with the passed pivots
|