|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.unibz.algorithms.Utility
public class Utility
General Utility class used to perform basic printing and data loading tasks
Constructor Summary | |
---|---|
Utility()
|
Method Summary | |
---|---|
static java.lang.String |
display(java.util.List<Cluster> clusters,
boolean rename)
Method returns formatted string ready to be displayed in the GUI's output box |
static DataSet |
loadDataSet(java.lang.String path)
Method is used to parse an arff file into the system. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Utility()
Method Detail |
---|
public static DataSet loadDataSet(java.lang.String path) throws java.lang.Exception
path
- Is the path to the arff file
java.lang.Exception
- if its unable to read arff filepublic static java.lang.String display(java.util.List<Cluster> clusters, boolean rename)
clusters
- List of clusters to displayrename
- True if Clusters have to be renamed (For DBSCAN)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |