Scenario: Brand new elevator in 7 story building.
- Standby on first floor until summoned to a floor above
- Summoned only when “UP” or “DOWN” button is pressed at any of the floors 1 through 7
- When the “UP” button is pressed at the floor you are stationary at open doors and take them to desired floor indicated by buttons inside elevator ( For Example: Floor 7 )
- You will only stop at another floor before reaching desired destination (in this case 7) if they are going the same direction and they have pushed the button before you’ve passed their floor
- For example, if on your way to floor 7 from floor 1 and the “DOWN” button gets pressed at floor 4 & the “UP” button gets pressed at floor 5 you will only go to 5 if you haven’t already passed it
- If that’s the case you will go to 5 then continue to 7 / If not you will go to floor 7 then floor 5 after
- Once you’ve dropped everybody off based off the timing between button presses and your location between floors (Both scenarios above) you will go to floor 4
- take them to desired floor (in example floor 2)
- Standby at most recent destination (in this case floor 2) waiting for new “UP” or “Down” request
I’m loving this draft, HurtNowitzki. It can still be refined, by you or by others who want to incorporate its strong points into their drafts.
Its blend of general rules and examples is certainly effective in helping readers understand the various scenarios. I do wonder if a perfect set of instructions would need them, though, from the elevator’s perspective. 🙂
Nice work. Feel free to revise if you wish, or to Reply to my Reply. I particularly like when the blog becomes a place to share, not merely to post.
I like so much of what is going on here, HurtNowitzki. In many cases, you provide INSTRUCTIONS to the elevator, among the best I’ve read. However, in other examples, you’re offering EXAMPLES, which the elevator would not recognize as instructions. Yes, the post is supposed to provide INSTRUCTIONS to the ELEVATOR (who is your reader here.) And Yes, the elevator reads your instructions and follows them.
The elevator will not extrapolate from examples to create rules for itself. You need to spell out the rules as GENERAL INSTRUCTIONS and identify the EXCEPTIONS to the rules also in general terms.
Some examples in no particular order:
—In response to any CALL button, PROCEED to that floor and OPEN the doors.
—You have three modes: AT REST, GOING UP, GOING DOWN.
—When you are GOING DOWN, IGNORE any GOING UP requests.
See what I mean?
Provisionally graded out of gratitude for your outstanding contribution to the project and your effort. You may still earn a Regrade by transforming your descriptions of elevator operations into INSTRUCTIONS written for the elevator (as if the Elevator were your reader and needed to be told how to operate).