I am trying to implement ROCK algorithm in JAVA. It is used to cluster categorical data.
I have like N statements that are to be clustered.
This is a good example of this algorithm:
faculty.ksu.edu.sa/ykhlef/mscThesis/clustering-P1.ppt

I have coded till number of links for each cluster.

But I cannot understand how to store these clusters ?
Each cluster will be associated with a Goodness measure.
How can I store the cluster as well as the measure together ?

Please help!

Do you have any specific java coding questions?

yes,
What datastucture should I use to store the cluster ?
In that datastructure there will be a set of strings and a number associated with that whole set!

What is a cluster? How do you want to access it? Will there be more than one? Is their order important?
With a Map you could have the Map's key be the number and the Map's value be an object with the rest of the stuff.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.