public class ObjectFeatureSetHausdorff extends ObjectFeatureSet
LocalAbstractObject.DataEqualObject, LocalAbstractObject.TextStreamFactory<T extends LocalAbstractObject>, LocalAbstractObject.TrivialDistanceFunction
objects, QUANTIZED_FEATURES_SPLIT_CHARACTER
counterDistanceComputations, counterLowerBoundDistanceComputations, counterPrecomputedDistanceSavings, counterUpperBoundDistanceComputations, MAX_DISTANCE, MIN_DISTANCE, suppData, trivialDistanceFunction, UNKNOWN_DISTANCE
Constructor and Description |
---|
ObjectFeatureSetHausdorff(BinaryInput input,
BinarySerializator serializator) |
ObjectFeatureSetHausdorff(java.io.BufferedReader stream)
Creates a new instance of ObjectFeatureSetHausdorff from a text stream.
|
Modifier and Type | Method and Description |
---|---|
protected float |
getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
The actual implementation of the metric Hausdorff function.
|
addObject, binarySerialize, clearSurplusData, clone, clone, cloneRandomlyModify, containsParameter, dataEquals, dataHashCode, filterFeatures, getBinarySize, getObject, getObjectCount, getParameter, getParameter, getParameter, getParameterCount, getParameterMap, getParameterNames, getRequiredParameter, getRequiredParameter, getSaveObjectsClass, getSize, getStringData, iterator, readObject, readObject, toString, writeData
clone, create, create, createMetaDistancesHolder, excludeUsingPrecompDist, getDistance, getDistance, getDistance, getDistanceFilter, getDistanceFilter, getDistanceFilter, getDistanceFilter, getDistanceLowerBound, getDistanceLowerBoundImpl, getDistanceStorePrecomputed, getDistanceStorePrecomputed, getDistanceStorePrecomputed, getDistanceUpperBound, getDistanceUpperBoundImpl, getFieldsForNames, getMaxDistance, getNormDistance, getPrecomputedDistance, getPrecomputedDistance, getRandomChar, getRandomNormal, chainDestroy, chainFilter, includeUsingPrecompDist, isDistanceCompatible, parseObjectComment, peekNextChar, readAttributesFromStream, readObjectComments, readObjectCommentsWithoutData, unchainFilter, write, write, writeAttributesToStream, writeObjectComment
clone, getLocatorURI, getNoDataObject, getObjectKey, getObjectKey, getObjectLocatorURI, setObjectKey
public ObjectFeatureSetHausdorff(java.io.BufferedReader stream) throws java.io.IOException
stream
- the text stream to read an object fromjava.io.IOException
- when an error appears during reading from given stream,
EOFException is returned if end of the given stream is reached.public ObjectFeatureSetHausdorff(BinaryInput input, BinarySerializator serializator) throws java.io.IOException
java.io.IOException
protected float getDistanceImpl(LocalAbstractObject obj, float distThreshold)
LocalAbstractObject.getDistance(messif.objects.LocalAbstractObject, float[], float)
is called with null meta distances array in order to compute the
actual distance.getDistanceImpl
in class LocalAbstractObject
obj
- the object to compute distance todistThreshold
- the threshold value on the distanceLocalAbstractObject.getDistance(messif.objects.LocalAbstractObject)