public class EpsilonRange_ListElement extends java.lang.Object implements RevisionHandler
EpsilonRange_ListElement.java
Authors: Rainer Holzmann, Zhanna Melnikova-Albrecht, Matthias Schubert
Date: Sep 7, 2004
Time: 2:12:34 PM
$ Revision 1.4 $
Constructor and Description |
---|
EpsilonRange_ListElement(double distance,
DataObject dataObject)
Constructs a new Element that is stored in the ArrayList which is
built in the k_nextNeighbourQuery-method from a specified database.
|
Modifier and Type | Method and Description |
---|---|
DataObject |
getDataObject()
Returns this dataObject
|
double |
getDistance()
Returns the distance that was calulcated for this dataObject
(The distance between this dataObject and the dataObject for which an epsilon-range-query
was performed.)
|
java.lang.String |
getRevision()
Returns the revision string.
|
public EpsilonRange_ListElement(double distance, DataObject dataObject)
distance
- The calculated distance for this dataObjectdataObject
- A dataObject that is within the epsilon-rangepublic double getDistance()
public DataObject getDataObject()
public java.lang.String getRevision()
getRevision
in interface RevisionHandler