So far, I've decided to scrap the "Adaptive-Schmaptive" approach...
Instead, I'm using the Jonathan-Swift-Children-Compression Algorithm.
The pseudo-code can be found here
(http://my.execpc.com/~berrestr/swimod.html).
I implemented my own helper methods called BBQSauce and BabyCompactor to
complement the main JonathanSwiftAdaptive class. Basically, I can
compress the children regardless of size to zero bites. Decoding is
simple...and fun! I just call the RandomMemberofOppositeSex method
along with BeerGoggles and away we go! In order to take care of corner
cases, I implemented an AbortFetus method that prevents too much
uncompression of children.
I'm also developing an IncestuousAdaptiveTree that's both literally and
figuratively a linked list. Next time mom comes down to the basement to
do the laundry, I'll tell her about this great idea and see what she thinks!
Post by t3h j1mb0Why is getRightChild specifically for the OptAdaptive tree?
-Jimbo