deliverable: stack limits
The weakest point of the A- implementation is the stupid computation of
stack limits, which are always assumed to equal 25. It would be much
nicer to compute the exact limit.
This improvement can be implemented by
only making changes to the file
emit.c .
Note that "struct CODE " in the file
tree.h
contains a field "int visited; " which may
be useful for this task.
You should hand in your assignment by making a jar file with all of the
files which you have modified, and a README file describing what you have
done.
The jar file should be sent by e-mail, as an attachment, to your TA.
Make the subject of your e-mail "CS 520 - group xx - stack limits" where xx is
your group number".
A hard copy, clearly printed and labeled with your group number should
be handed in at the beginning of class.
|