lbehnke / hierarchical-clustering-java

Implementation of an agglomerative hierarchical clustering algorithm in Java. Different linkage approaches are supported.
141 stars 79 forks source link

Split out DendrogramFrame from DendrogramPanel #26

Open barrybecker4 opened 5 years ago

barrybecker4 commented 5 years ago

If the DendrogramFrame were split out into a separate class, it would be easier to re-use. If the constructor took a Cluster parameter, then you could do something like

new DendrogramFrame(createSampleCluster());

To create a UI for a given cluster. I will create a PR.