|
-
June 14th, 2006, 02:48 PM
#1
best STL method to implement a binary tree
What's the best STL class or method to implement a binary tree?
I know some STL classes are stored as binary trees internally, but this is not what I want. I wish to create and have full control of the binary tree's structure.
A red-black binary tree will do no good, as the structure changes on its own. The tree must remain exactly as I wish to set it. (Red-black binary trees stored extra info which allow the tree to be modified so that it remains "even" in height.)
-
June 16th, 2006, 04:03 PM
#2
Re: best STL method to implement a binary tree
 Originally Posted by Matthew Doucette
I wish to create and have full control of the binary tree's structure.
Well, then I'm afraid you'll have to do it yourself.
- petter
-
June 16th, 2006, 04:55 PM
#3
Re: best STL method to implement a binary tree
Thanks. That's what I concluded, but I wanted to check just in case I missed something.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|