Trees

  • Thread starter Thread starter trusiki
  • Start date Start date
T

trusiki

I am trying to use C# for my program that deals with manipulation of
trees (i.e. finding distance between different nodes, assigning labels
to nodes, storing trees, etc.).

I know I can probably use a multi-dimensional array as my data
structure. However, I wanted to find out if C# had any built-in APIs
for trees.


Thanks in advance.
 
I am trying to use C# for my program that deals with manipulation of
trees (i.e. finding distance between different nodes, assigning labels
to nodes, storing trees, etc.).

I know I can probably use a multi-dimensional array as my data
structure. However, I wanted to find out if C# had any built-in APIs
for trees.

No, trees are one data structure the framework has no support for. There
should be a good selection of tree classes out there however.
 
See there
http://msdn.microsoft.com/vcsharp/d...s/dv_vstechart/html/datastructures_guide3.asp

it describes how to use trees in .net and shows several samples
You can find it usefull
I am trying to use C# for my program that deals with manipulation of
trees (i.e. finding distance between different nodes, assigning labels
to nodes, storing trees, etc.).

I know I can probably use a multi-dimensional array as my data
structure. However, I wanted to find out if C# had any built-in APIs
for trees.

--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
Back
Top