Chad Langston
CS 2604 AVL Text File Indexing
-------------------------------
Nodes: 97
Height: 8
(the tree is displayed sideway)
('road', the word farthest to the left, is the root node)
a-
about\
ages\
all-
and/
another-
as-
back-
be/
because-
bent/
better-
black-
both/
by-
claim\
come-
could\
day\
difference-
diverged/
doubted-
down/
equally\
ever-
fair-
far-
first-
for-
frost-
grassy-
had-
has-
having\
hence-
how/
i/
if-
in-
it-
just/
kept\
knowing-
lay\
leads-
leaves-
less-
long/
looked\
made-
morning/
no-
not-
oh-
one/
other-
passing-
perhaps-
really-
road/
roads-
robert-
same-
shall-
should-
sigh-
somewhere-
sorry/
step-
stood/
taken-
telling-
that/
the/
them-
then/
there-
this-
though-
to-
took-
travel\
traveled-
traveler-
trodden-
two\
undergrowth\
wanted-
was/
way-
wear-
where\
with-
wood-
worn-
yellow-
yet-
--------------------------------------------------------------
Command Status Results
--------------------------------------------------------------
find road succeeded comparisons = 1
find robert succeeded comparisons = 6
find bent succeeded comparisons = 6
find rain failed comparisons = 7
count bent succeeded occurs 1 times
count the succeeded occurs 9 times
occurs bent succeeded occurs at locations 41
occurs the succeeded occurs at locations 1 43 47 56 70 78 96 139 149
range fair for succeeded far first
range animal asp succeeded another as
replace bent bended succeeded 'bent' was replaced with 'bended'
find bent failed comparisons = 7
find bended succeeded comparisons = 7
replace ever succeeded 'ever' was deleted from the tree
find ever failed comparisons = 6
replace way succeeded 'way' was deleted from the tree
find undergrowth succeeded comparisons = 6
exit succeeded
|