org.rubato.rubettes.alteration
Class NearestNeighborFinder

java.lang.Object
  extended by org.rubato.rubettes.alteration.NearestNeighborFinder

public class NearestNeighborFinder
extends java.lang.Object


Constructor Summary
NearestNeighborFinder(int[][] elementPaths)
           
NearestNeighborFinder(PowerDenotator neighbors, int[][] elementPaths)
           
 
Method Summary
 void addNeighbor(Denotator neighbor)
           
 void fillKDTree()
           
 Denotator findNearestNeighbor(Denotator denotator)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NearestNeighborFinder

public NearestNeighborFinder(int[][] elementPaths)

NearestNeighborFinder

public NearestNeighborFinder(PowerDenotator neighbors,
                             int[][] elementPaths)
Method Detail

addNeighbor

public void addNeighbor(Denotator neighbor)

findNearestNeighbor

public Denotator findNearestNeighbor(Denotator denotator)

fillKDTree

public void fillKDTree()