next up previous
Next: Concrete Machine: Seq Up: No Title Previous: No Title

Abstract Machine: Set

My Set abstract machine has the following interface:

tex2html_wrap274

Set = (
tex2html_wrap_inline240 ,
tex2html_wrap_inline242 ,
tex2html_wrap_inline244 see above tex2html_wrap_inline246
tex2html_wrap_inline248 see next page tex2html_wrap_inline250
).

Here are specifications of the actions, insert, delete, card, member, and pick.

1

 insert (i: int)/ok()

pre true

post tex2html_wrap_inline256

delete(i: int)/ok()

pre true

post tex2html_wrap_inline260

card()/ok(int)

pre true

post tex2html_wrap_inline264

member(i: int)/ok(bool)

pre true

post tex2html_wrap_inline268

pick()/ok(int)

pre tex2html_wrap_inline270

post tex2html_wrap_inline272



Norman Papernick
Thu Mar 21 15:04:44 EST 1996