Re: Tree data structure in Java
- From: "Allan M. Bruce" <allanmb@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 19 Sep 2006 00:21:57 +0100
"No Name" <7abc@xxxxxxxxxxxxx> wrote in message
news:1158620713.452916.104890@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Allan M. Bruce wrote:
I am hoping to use a tree data structure in my Java application. I need
to
be able to create a tree which I can add next nodes to certain paths and
obtain a list of all possible paths in the tree. Is there an
implementation
of this built into Java? For example, I would like to create a structure
similar to this:
A1
/ \
M1 C3
/ | \ / \
D S E R Ts
/\
4 6
Ah, it's homework season. That time of the year where we get insight
into the sad state of programmer education.
Actually it is not! I could quite easily program this myself but thought I
would check before re-inventing the wheel. Looks like I will have to code
it myself from the feedback from some helpful people!
Allan
.
- Follow-Ups:
- Re: Tree data structure in Java
- From: Babu Kalakrishnan
- Re: Tree data structure in Java
- From: san1312
- Re: Tree data structure in Java
- References:
- Tree data structure in Java
- From: Allan M. Bruce
- Re: Tree data structure in Java
- From: No Name
- Tree data structure in Java
- Prev by Date: Re: Tree data structure in Java
- Next by Date: Binary.java
- Previous by thread: Re: Tree data structure in Java
- Next by thread: Re: Tree data structure in Java
- Index(es):
Relevant Pages
|