|
-
Nov 17th, 2002, 09:37 AM
#1
Thread Starter
transcendental analytic
splaytree
does anyone have a splaytree that can be traversed as well?
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Nov 17th, 2002, 09:41 AM
#2
Monday Morning Lunatic
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Nov 17th, 2002, 09:49 AM
#3
Thread Starter
transcendental analytic
yup, a binary tree that winds up the accessed nodes to the root so that they are more easily accessed the next time, good if you're accessing the same nodes often, the tree also prevents itself from becoming onesided
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Nov 18th, 2002, 04:47 AM
#4
I fear not. Maybe jim has one (if not him, no one here has)
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Nov 18th, 2002, 10:05 AM
#5
Frenzied Member
We don't use them - but I have a text book that does have examples.
The class & header files for are at:
http://www.cs.fiu.edu/~weiss/dsaa_c++/code/
See:
'Data Structures and Algorithm Analysis in C++' by Mark Allen Weiss. for implementation and discussion.
This ought to get you going.....
-
Nov 18th, 2002, 10:59 AM
#6
Thread Starter
transcendental analytic
Thanks jim, I'll have a look
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
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
|