- /* PURPOSE: Construct a new Stop object, and set the floor and direction
- *
- * REQUIRE: Nothing
- *
- * PROMISE: A new Stop object will be created
- */
- Stop (int floor, enum direction mydirection);
-
- /*
- * PURPOSE: Check if this and another Stop object is equivalent
- *
- * REQUIRE: rhs is a valid Stop object
- *
- * PROMISE: Return true if this and rhs are equivalent, false otherwise
- */
- bool operator== (Stop& rhs);