wood burning stoves 2.0*
The moose likes Programming Diversions and the fly likes arrays in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Other » Programming Diversions
Bookmark "arrays in java" Watch "arrays in java" New topic
Author

arrays in java

vijayapriya thirumurugan
Greenhorn

Joined: Apr 03, 2009
Posts: 16
hi,
i'm doing project in java. i'm doing apriori algorithm in java , its graph based one. can you tell me that how to convert mydataset into matrix format(Adcency matrix).
Gabriel Claramunt
Ranch Hand

Joined: May 26, 2007
Posts: 375
Here is the wikipedia entry for adjacency matrix. How to convert your data to that, depends on what do you have. What's the format of your graph representation? How you would get the list of nodes? How you can get the list of adjacent nodes for a given node?
With that you can build the matrix.


Gabriel
Software Surgeon
 
wood burning stoves
 
subject: arrays in java
 
Similar Threads
About Constructor Chaining
Matrix
WA #1.....word association
2 dimensional array without hard coding values
The question