Class Node

java.lang.Object
edu.mit.simile.vicino.vptree.Node
All Implemented Interfaces:
Serializable

public class Node extends Object implements Serializable
This class represent a couple (Object, distance) value of that Object from the Vp in each step of the algorithm.
Author:
Paolo Ciccarese
See Also:
  • Constructor Details

  • Method Details

    • get

      public Serializable get()
    • setDistance

      public void setDistance(double distance)
    • getDistance

      public double getDistance()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object