Results 1 to 4 of 4
Thread: Data Graph Java
- 12-08-2011, 09:03 PM #1
Member
- Join Date
- Oct 2009
- Posts
- 3
- Rep Power
- 0
- 12-08-2011, 09:32 PM #2
Moderator
- Join Date
- Jul 2010
- Location
- California
- Posts
- 1,609
- Rep Power
- 5
Re: Data Graph Java
Might be just me, but your post makes next to no sense. Please elaborate
- 12-08-2011, 09:43 PM #3
Member
- Join Date
- Oct 2009
- Posts
- 3
- Rep Power
- 0
Re: Data Graph Java
I'll try to explain myself better, I must start from an XML document as:
<movie>
<title> Hello </ title>
<actors>
<actor> Brad Pitt </ actor>
<actor> George Clooney </ actor>
</actors>
</movie>
and build an internal representation of the document in the form of a graph, where elements are represented as nodes and links between elements such as arches. Then I have to navigate through the graph to process the data. I wanted to understand what are the most efficient structures for the representation of a graph, ie Hashtable, matrices, etc. ...
- 12-08-2011, 10:01 PM #4
Moderator
- Join Date
- Jul 2010
- Location
- California
- Posts
- 1,609
- Rep Power
- 5
Re: Data Graph Java
Draw out a simple xml document, you will find a tree is most pertinent. See The XML data model
There are java libraries that do all this for you, for instance in the javax.xml.parsers package.
Similar Threads
-
java graph plot taking file data
By niloR19 in forum AWT / SwingReplies: 3Last Post: 11-28-2011, 06:56 PM -
Plot 2D graph in Java from RS-232 data
By spratana in forum Java 2DReplies: 4Last Post: 02-11-2009, 06:49 PM -
How can I create Graph(Data structure) with Java ?
By mir.shahidul in forum Advanced JavaReplies: 2Last Post: 02-10-2009, 10:19 AM -
How can I create Graph(Data structure) with Java
By mir.shahidul in forum New To JavaReplies: 4Last Post: 02-09-2009, 08:48 AM -
Help Creating A Graph From Inputted Data
By adlb1300 in forum New To JavaReplies: 6Last Post: 10-28-2007, 04:45 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks