Steven Nieh
2009-04-12 20:10:37 UTC
Hello Everyone, I have a general question for Z Specification. In the
systemState, do we usually need a set to store the current information we
need? For example, in the 2003 final, we use the reuqest set(Please refer
to the solution) to record the toys we need to make all the time. Then, when we have a new
task, then we can simply "add" a new element in the record set; However,
in the 2005 final, we simply use the function RR to maintain the students
that live in the residence. Shouldn't we create a set to do it like the
one in 2003 final?
Also, in the AddStudent state, should we use delta ResidenceRoomDatabase
instead of deltaRR?
Thanks!
Steve
systemState, do we usually need a set to store the current information we
need? For example, in the 2003 final, we use the reuqest set(Please refer
to the solution) to record the toys we need to make all the time. Then, when we have a new
task, then we can simply "add" a new element in the record set; However,
in the 2005 final, we simply use the function RR to maintain the students
that live in the residence. Shouldn't we create a set to do it like the
one in 2003 final?
Also, in the AddStudent state, should we use delta ResidenceRoomDatabase
instead of deltaRR?
Thanks!
Steve