de.lmu.ifi.dbs.elki.index.tree.query
Class DoubleDistanceSearchCandidate

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.index.tree.query.DoubleDistanceSearchCandidate
All Implemented Interfaces:
Comparable<DoubleDistanceSearchCandidate>

public class DoubleDistanceSearchCandidate
extends Object
implements Comparable<DoubleDistanceSearchCandidate>

Candidate for expansion in a distance search (generic implementation).


Field Summary
 double mindist
          Distance value
 Integer nodeID
          Page id
 
Constructor Summary
DoubleDistanceSearchCandidate(double mindist, Integer pagenr)
          Constructor.
 
Method Summary
 int compareTo(DoubleDistanceSearchCandidate o)
           
 boolean equals(Object obj)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mindist

public double mindist
Distance value


nodeID

public Integer nodeID
Page id

Constructor Detail

DoubleDistanceSearchCandidate

public DoubleDistanceSearchCandidate(double mindist,
                                     Integer pagenr)
Constructor.

Parameters:
mindist - The minimum distance to this candidate
pagenr - The page number of this candidate
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

compareTo

public int compareTo(DoubleDistanceSearchCandidate o)
Specified by:
compareTo in interface Comparable<DoubleDistanceSearchCandidate>

Release 0.4.0 (2011-09-20_1324)