I got the Opt done, and it appears to work well, although I can't say I've
tried it on anything by a semi-longish text file... I'm pretty confident of
it though.
As for reverse adaptive, I'm a bit stuck. It works some of the time, but
for some longer files, the removeZero function really screws it up. Does
anyone have any psuedocode they used for all of the special cases?
removeZero was overwiriting some nodes with my program, even after I fixed
the typo. I had to change it some myself to get it to work on my smaller
tests, but with large one, something happens to the tree where outputCode
overflows the stack, and frankly there's just too much to debug. Unless
someone has some psuedocode, or an explanation of what the reverseAdaptive
special cases are in the update, I'm giving up. I've spent way too much
time on this.
Hope someone can help me out.
-Nick
Post by Drake DowsettHas anyone come close to completing the assignment. I thought I had
actually finished the OptAdaptive, but then ran into some more problems.
I mean, is EVERYONE sucking on this assignment, or is there really
ANYONE out there who was like "by george that's easy"?
Drake