Package | Description |
---|---|
messif.objects |
Metric data objects.
|
messif.objects.extraction |
Support for
object extraction. |
messif.objects.impl |
Implementation of basic data objects.
|
messif.objects.util |
Various utilities for working with collections of objects.
|
messif.objects.util.impl |
Implementation of simple function evaluator.
|
Modifier and Type | Class and Description |
---|---|
class |
DistanceFunctionMetaSubobject<T>
Wrapper for
DistanceFunction that computes the distances on
encapsulated objects of the MetaObject . |
static class |
LocalAbstractObject.TrivialDistanceFunction
Implementation of a simple trivial distance function.
|
Modifier and Type | Field and Description |
---|---|
static DistanceFunction<LocalAbstractObject> |
LocalAbstractObject.trivialDistanceFunction
Trivial distance function that for any
LocalAbstractObject returns
the call to LocalAbstractObject.getDistance(messif.objects.LocalAbstractObject) method |
Constructor and Description |
---|
DistanceFunctionMetaSubobject(java.lang.String subobjectName,
java.lang.Class<? extends T> subobjectClass,
DistanceFunction<? super T> subobjectDistanceFunction)
Creates a new instance of DistanceFunctionMetaSubobject.
|
DistanceFunctionMetaSubobject(java.lang.String subobjectName,
DistanceFunction<T> subobjectDistanceFunction)
Creates a new instance of DistanceFunctionMetaSubobject.
|
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 |
---|---|
static class |
MetaObjectCophirKeywords.CophirWeightedCosineDistanceFunction
Class for distance functions that compute distances on keyword vectors
of two
MetaObjectCophirKeywords }s using weighted Cosine distance. |
static class |
MetaObjectParametricShapeColorAndText.TextDistanceFunction
Distance function for
MetaObjectParametricShapeColorAndText that
uses only the distance of the textual descriptor. |
static class |
MetaObjectProfiSCT.ProfiSCTWeightedCosineDistanceFunction
Class for distance functions that compute distances on keyword vectors
of two
MetaObjectProfiSCT }s using weighted Cosine distance. |
static class |
ObjectIntMultiVectorCosine.WeightedCosineDistanceFunction
Class for distance functions that compute distances between two
ObjectIntMultiVector s using weighted Cosine distance. |
static class |
ObjectIntMultiVectorJaccard.WeightedJaccardDistanceFunction
Class for distance functions that compute distances between two
ObjectIntMultiVector s using a non-metric weighted Jaccard coefficient. |
Modifier and Type | Field and Description |
---|---|
protected DistanceFunction<MetaObject> |
MetaObjectFixedMap.distance
A distance function (can be null).
|
Modifier and Type | Method and Description |
---|---|
void |
MetaObjectFixedMap.setDistance(DistanceFunction<MetaObject> distance) |
Constructor and Description |
---|
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,
DistanceFunction<MetaObject> distance)
Create this meta object by (shallow) copying of data in given map.
|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
AggregationFunction
The predecessor class of the similarity aggregate functions.
|
Modifier and Type | Method and Description |
---|---|
DistanceFunction<? super T> |
RankedSortedDistFunctionCollection.getRankingDistanceFunction()
Returns the distance function used for the ranking.
|
Constructor and Description |
---|
DistanceRankedObject(O object,
DistanceFunction<? super O> distanceFunction,
O referenceObject)
Creates a new instance of DistanceRankedObject that encapsulates a given object
and measures the distance using
distanceFunction from the given reference object. |
RankedAbstractObject(T object,
DistanceFunction<? super T> distanceFunction,
T referenceObject)
Creates a new instance of RankedAbstractObject by measuring an object's distance from the reference object
using a given distance function.
|
RankedJoinObject(T leftObject,
T rightObject,
DistanceFunction<? super T> distanceFunction)
Creates a new instance of RankedJoinObject by measuring the objects' distance online
using a given distance function.
|
RankedSortedCollection(DistanceFunction<? super T> distanceFunction,
T referenceObject,
java.util.Iterator<? extends T> iterator)
Creates a new collection filled with objects provided by the
iterator . |
RankedSortedCollection(DistanceFunction<? super T> distanceFunction,
T referenceObject,
ObjectProvider<? extends T> objectProvider)
Creates a new collection filled with objects provided by the
objectProvider . |
RankedSortedDistFunctionCollection(DistanceFunction<? super T> rankingDistanceFunction,
T rankingObject,
float originalDistanceWeight)
Constructs an empty collection.
|
RankedSortedDistFunctionCollection(DistanceFunction<? super T> rankingDistanceFunction,
T rankingObject,
float originalDistanceWeight,
boolean rankInAdd)
Constructs an empty collection.
|
RankedSortedDistFunctionCollection(DistanceFunction<? super T> rankingDistanceFunction,
T rankingObject,
float originalDistanceWeight,
boolean rankInAdd,
int initialCapacity,
int maximalCapacity)
Constructs an empty collection with the specified initial and maximal capacity.
|
RankedSortedDistFunctionRerankingCollection(DistanceFunction<? super T> rankingDistanceFunction,
T rankingObject,
float originalDistanceWeight,
int initialCapacity,
int maximalCapacity)
Constructs an empty collection with the specified initial and maximal capacity.
|
RankedSortedNoThresholdCollection(DistanceFunction<? super T> distanceFunction,
T referenceObject,
java.util.Iterator<? extends T> iterator)
Creates a new collection filled with objects provided by the
iterator . |
RankedSortedNoThresholdCollection(DistanceFunction<? super T> distanceFunction,
T referenceObject,
ObjectProvider<? extends T> objectProvider)
Creates a new collection filled with objects provided by the
objectProvider . |
Modifier and Type | Class and Description |
---|---|
class |
AggregationFunctionEvaluator
Evaluator for basic arithmetic operators and functions applied on particular sub-distances.
|
class |
ThresholdFunctionSimpleEvaluator
Evaluator for basic arithmetic functions.
|