Package | Description |
---|---|
messif.objects.classification.impl |
Provides implementations for common classification tasks.
|
messif.objects.impl |
Implementation of basic data objects.
|
messif.objects.util |
Various utilities for working with collections of objects.
|
messif.operations |
Generic classes for data manipulatioin and querying operations.
|
messif.operations.query |
Implementation of data querying operations.
|
Modifier and Type | Method and Description |
---|---|
protected ClassificationWithConfidence<C> |
ParametricRankedObjectDistanceClassifier.getClassification(RankedAbstractObject object,
Parametric parameters)
Retrieves the classification from the object.
|
Modifier and Type | Method and Description |
---|---|
ClassificationWithConfidence<C> |
ParametricRankedObjectDistanceClassifier.classify(java.util.Iterator<? extends RankedAbstractObject> iterator,
Parametric parameters) |
Constructor and Description |
---|
ObjectProviderClassifier(Classifier<? super java.util.Iterator<? extends RankedAbstractObject>,C> classifier,
ObjectProvider<? extends LocalAbstractObject> classifiedObjects)
Creates a new kNN classifier.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<RankedAbstractObject> |
MetaObjectProfiSCT.DatabaseSupport.rankByKeywords(MetaObjectProfiSCT queryObject,
float[] keyWordWeights,
java.util.Iterator<? extends MetaObjectProfiSCT> iterator)
Returns a collection of ranked objects given by the
iterator with
the distances provided by the weighted Jaccard keyword distance
with word-frequency weights. |
java.util.Collection<RankedAbstractObject> |
MetaObjectProfiSCT.DatabaseSupport.rankByKeywords(java.lang.String[][] referenceKeywords,
float[] keyWordWeights,
java.util.Iterator<? extends MetaObjectProfiSCT> iterator)
Returns a collection of ranked objects given by
iterator with
the distances provided by the weighted Jaccard keyword distance
with word-frequency weights. |
java.util.Collection<RankedAbstractObject> |
MetaObjectProfiSCT.DatabaseSupport.rerankByKeywords(MetaObjectProfiSCT queryObject,
float[] keyWordWeights,
float originalRankWeight,
java.util.Iterator<? extends RankedAbstractObject> iterator)
Returns a collection of ranked objects given by the
iterator with
the distances provided by the weighted Jaccard keyword distance
with word-frequency weights. |
java.util.Collection<RankedAbstractObject> |
MetaObjectProfiSCT.DatabaseSupport.searchByText(MetaObjectProfiSCT object,
float[] weights,
boolean useIdf,
int count)
Returns a collection of objects found by the text search.
|
java.util.Collection<RankedAbstractObject> |
MetaObjectProfiSCT.DatabaseSupport.searchByText(java.lang.String[] searchKeywords,
boolean useIdf,
int count)
Returns a collection of objects found by the text search.
|
java.util.Collection<RankedAbstractObject> |
MetaObjectProfiSCT.DatabaseSupport.searchByText(java.lang.String[] titleWords,
java.lang.String[] keywordWords,
java.lang.String[] searchWords,
float[] weights,
boolean useIdf,
int count)
Returns a collection of objects found by the text search.
|
java.util.Collection<RankedAbstractObject> |
MetaObjectProfiSCT.DatabaseSupport.searchByText(java.lang.String text,
boolean useIdf,
int count)
Returns a collection of objects found by the text search.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<RankedAbstractObject> |
MetaObjectProfiSCT.DatabaseSupport.rerankByKeywords(MetaObjectProfiSCT queryObject,
float[] keyWordWeights,
float originalRankWeight,
java.util.Iterator<? extends RankedAbstractObject> iterator)
Returns a collection of ranked objects given by the
iterator with
the distances provided by the weighted Jaccard keyword distance
with word-frequency weights. |
Modifier and Type | Class and Description |
---|---|
class |
RankedAbstractMetaObject
Encapsulation of an object-distance pair with the distances to respective
sub-objects of a
MetaObject . |
class |
RankedJoinObject
Ranked object encapsulating a pair of objects as a result of join operation.
|
Modifier and Type | Method and Description |
---|---|
RankedAbstractObject |
RankedSortedCollection.add(AnswerType answerType,
AbstractObject object,
float distance,
float[] objectDistances)
Add a distance-ranked object to this collection.
|
RankedAbstractObject |
RankedSortedDistFunctionCollection.add(AnswerType answerType,
AbstractObject object,
float distance,
float[] objectDistances)
Add a distance-ranked object to this collection.
|
RankedAbstractObject |
RankedSortedDistFunctionMultiCollection.add(AnswerType answerType,
AbstractObject object,
float distance,
float[] objectDistances)
Add a distance-ranked object to this collection.
|
RankedAbstractObject |
RankedAbstractObject.clone(float newDistance) |
protected RankedAbstractObject |
RankedSortedCollection.rankObject(AnswerType answerType,
AbstractObject object,
float distance,
float[] objectDistances)
Internal method that creates a distance-ranked object for adding to this collection.
|
RankedAbstractObject |
RankedSortedCollection.removeFirst() |
RankedAbstractObject |
RankedSortedCollection.removeLast() |
Modifier and Type | Method and Description |
---|---|
SortedCollection<RankedAbstractObject> |
RankedSortedMultiCollection.clone(boolean copyData) |
java.util.Collection<RankedAbstractObject> |
RankedSortedMultiCollection.getCollection(int index) |
java.lang.Class<? extends RankedAbstractObject> |
RankedSortedMultiCollection.getCollectionValueClass() |
protected java.util.Collection<? extends RankedAbstractObject> |
RankedSortedDistFunctionRerankingCollection.getOriginalRankingCollection()
Returns the memorized collection with the original ranking.
|
java.util.Comparator<? super RankedAbstractObject> |
RankedSortedMultiCollection.getSublistComparator(int sublistIndex)
Returns the comparator used by the particular sub-collection.
|
Modifier and Type | Method and Description |
---|---|
boolean |
RankedSortedCollection.add(RankedAbstractObject e) |
boolean |
RankedSortedDistFunctionCollection.add(RankedAbstractObject obj) |
boolean |
RankedSortedDistFunctionMultiCollection.add(RankedAbstractObject obj) |
boolean |
RankedSortedMultiCollection.add(RankedAbstractObject e) |
boolean |
RankedSortedParametricFilterCollection.add(RankedAbstractObject e) |
boolean |
RankedSortedRadiusRestrictCollection.add(RankedAbstractObject e) |
protected boolean |
RankedSortedDistFunctionCollection.add(RankedAbstractObject obj,
boolean rankInAdd)
Adds the specified element to this list.
|
protected boolean |
RankedSortedCollection.add(RankedAbstractObject e,
int index) |
int |
RankedSortedMultiCollection.RankedSortedMultiCollectionComparator.compare(RankedAbstractObject o1,
RankedAbstractObject o2) |
Modifier and Type | Method and Description |
---|---|
boolean |
RankedSortedDistFunctionRerankingCollection.addAll(java.util.Collection<? extends RankedAbstractObject> c) |
boolean |
RankedSortedMultiCollection.addAll(java.util.Collection<? extends RankedAbstractObject> c) |
protected boolean |
RankedSortedDistFunctionRerankingCollection.addAllWithRanking(java.util.Collection<? extends RankedAbstractObject> c)
Compute the new ranking of the given data.
|
Constructor and Description |
---|
RankedSortedCollection(int initialCapacity,
int maximalCapacity,
java.util.Comparator<? super RankedAbstractObject> comparator)
Constructs an empty collection with the specified initial and maximal capacity.
|
RankedSortedNoThresholdCollection(int initialCapacity,
int maximalCapacity,
java.util.Comparator<? super RankedAbstractObject> comparator)
Constructs an empty collection with the specified initial and maximal capacity.
|
Modifier and Type | Method and Description |
---|---|
RankedAbstractObject |
RankingQueryOperation.addToAnswer(AbstractObject object,
float distance,
float[] objectDistances)
Add a distance-ranked object to the answer.
|
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.
|
RankedAbstractObject |
RankingQueryOperation.getLastAnswer()
Returns the current last ranked object in the answer.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<RankedAbstractObject> |
RankingQueryOperation.getAnswer() |
java.util.Iterator<RankedAbstractObject> |
RankingQueryOperation.getAnswer(int skip,
int count) |
java.lang.Class<? extends RankedAbstractObject> |
RankingQueryOperation.getAnswerClass() |
java.util.Comparator<? super RankedAbstractObject> |
RankingQueryOperation.getAnswerComparator()
Returns the internal comparator of the answer collection (often null).
|
java.util.Iterator<RankedAbstractObject> |
RankingQueryOperation.getAnswerDistanceRestricted(float maxDistance)
Returns an iterator over all objects in the answer that are ranked lower
than the
maxDistance . |
java.util.Iterator<RankedAbstractObject> |
RankingQueryOperation.getAnswerDistanceRestricted(float minDistance,
float maxDistance)
Returns an iterator over all objects in the answer that are ranked higher
than the
minDistance but lower than the maxDistance . |
java.util.Iterator<? extends RankedAbstractObject> |
RankingQueryOperation.getSubAnswer(int index) |
java.util.Iterator<? extends RankedAbstractObject> |
RankingQueryOperation.getSubAnswer(java.lang.Object key) |
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) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends RankedAbstractObject> |
GetObjectsByLocatorPrefixOperation.getAnswerClass() |
java.lang.Class<? extends RankedAbstractObject> |
GetObjectsByLocatorsOperation.getAnswerClass()
Returns the class of objects this operation stores in its answer.
|
java.util.Iterator<RankedAbstractObject> |
PartitionedKNNQueryOperation.getPartitionAnswer(java.lang.Object partitionIdentifier)
Returns the partial answer for the specified partition.
|
java.util.Iterator<RankedAbstractObject> |
PartitionedRangeQueryOperation.getPartitionAnswer(java.lang.Object partitionIdentifier)
Returns the partial answer for the specified partition.
|