File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: arrays in java