// (c) 2000 Benjamin Fry, MIT Media Laboratory, fry@media.mit.edu
// Aesthetics + Computation Group, Massachussetts Institute of Technology


public class ClusterMethod implements Runnable {
  SimilarityMatrix matrix;
  OutputEnvironment output;
  ArrayOutputEnvironment aoutput;
  int gcount;
  Thread thread;
  
  int permute[];


  public ClusterMethod(SimilarityMatrix matrix, OutputEnvironment output, 
		       ArrayOutputEnvironment aoutput) {
    this.matrix = matrix;
    this.output = output;
    this.aoutput = aoutput;
    
    gcount = matrix.gcount;
    permute = new int[gcount];
  }


  public void start() {
    // should check for old threads, etc.
    thread = new Thread(this);
    thread.start();    
  }

  public void stop() {
    thread.stop();
    thread = null;
  }

  public void run() { }
}



