Class NodeSorter

java.lang.Object
edu.mit.simile.vicino.vptree.NodeSorter

public class NodeSorter extends Object
  • Constructor Details

    • NodeSorter

      public NodeSorter()
  • Method Details

    • sort

      public void sort(Node[] nodes)
      Sorts and array of objects.
    • sort

      public static void sort(Node[] nodes, int lo, int hi)
      Sort array of Nodes using the QuickSort algorithm.
      Parameters:
      nodes - An array of Node
      lo - The current lower bound.
      hi - The current upper bound.