Hi
at first sorry for my poor grammar.
I want to build a simple hierarchical clustering algorithm in Java, so i need to build a similarity matrix, whose ij entry gives the similarity between i and j clusters.
The first thought is using int[][] for storing this matrix (each cluster has an ID of type integer).
I think that having for example initially 5000 clusters will lead to program memory crash, so any ideas for storing in another way this matrix? Maybe in another data structure?
Thank you