next up previous
Next: 2.3.2 generate Up: 2.3 Usage Previous: 2.3 Usage

2.3.1 General usage

How do we use these programs that we've compiled? We run the programs in the order of generate, cluster then display. A small blurb earlier describes what each program basically does. We'll go into greater detail here. To get a quick demonstration of the program run

./generate | ./cluster | ./display
How does that work? generate creates a data set. The generated data set has noise points (ie points not in a cluster) and cluster points. It then outputs this data. cluster then reads in the data sent from generate. The cluster program then uses the default clustering algorithm (\( k\)-MEANS) on the data the default algorithm is random, where we randomly assign a cluster to each point. The data output from cluster is then read in by display. This is then reinterpreted and displayed on the screen.



Kevin Pulo
2000-08-23