ObjectFeatureQuantized
@Deprecated public class ObjectFeatureClusteredMatch extends ObjectFeatureClustered
LocalAbstractObject.DataEqualObject, LocalAbstractObject.TextStreamFactory<T extends LocalAbstractObject>, LocalAbstractObject.TrivialDistanceFunction
clusterid
ori, scl, x, y
counterDistanceComputations, counterLowerBoundDistanceComputations, counterPrecomputedDistanceSavings, counterUpperBoundDistanceComputations, MAX_DISTANCE, MIN_DISTANCE, suppData, trivialDistanceFunction, UNKNOWN_DISTANCE
Modifier | Constructor and Description |
---|---|
protected |
ObjectFeatureClusteredMatch(BinaryInput input,
BinarySerializator serializator)
Deprecated.
Creates a new instance of ObjectIntVector loaded from binary input buffer.
|
|
ObjectFeatureClusteredMatch(java.io.BufferedReader stream)
Deprecated.
Creates a new instance of object from stream
|
|
ObjectFeatureClusteredMatch(double clusterid)
Deprecated.
Creates a new instance of object
|
|
ObjectFeatureClusteredMatch(float x,
float y,
float ori,
float scl,
double clusterid)
Deprecated.
Creates a new instance of object
|
Modifier and Type | Method and Description |
---|---|
protected float |
getDistanceImpl(LocalAbstractObject obj,
float distThreshold)
Deprecated.
Metric function
Implements city-block distance measure (so-called L1 metric)
|
binarySerialize, dataEquals, dataHashCode, getBinarySize, getClusterID, getDimensionality, getSize, toString, writeData
cloneRandomlyModify, getOrientation, getScale, getX, getY, setOri, setScl, setX, setY
clearSurplusData, clone, 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 ObjectFeatureClusteredMatch(double clusterid)
public ObjectFeatureClusteredMatch(float x, float y, float ori, float scl, double clusterid)
public ObjectFeatureClusteredMatch(java.io.BufferedReader stream) throws java.io.IOException, java.lang.NumberFormatException
java.io.IOException
java.lang.NumberFormatException
protected ObjectFeatureClusteredMatch(BinaryInput input, BinarySerializator serializator) throws java.io.IOException
input
- the buffer to read the ObjectIntVector fromserializator
- the serializator used to write objectsjava.io.IOException
- if there was an I/O error reading from the bufferprotected float getDistanceImpl(LocalAbstractObject obj, float distThreshold)
getDistanceImpl
in class LocalAbstractObject
obj
- the object to compute distance todistThreshold
- the threshold value on the distance