-- Aug 24 In-Class Exercise Thread
States -- the time on the clock and the selected time group (if any)
The initial state -- the current time (12:00am, with 12 selected)
The successor function -- clicking the advance-to-next-time-group button, long clicking the advance-to-next-time-group button, Clicking the advance-time button, long clicking the advance-time button
Goal Test -- is the time 4:30pm?
Path Cost -- cost 1sec to simply click either button, cost 2sec (for holding the button long enough to start the long click) + x sec, where x is how many seconds you held the button for
(
Edited: 2022-08-24)
'''States''' -- the time on the clock and the selected time group (if any)
'''The initial state''' -- the current time (12:00am, with 12 selected)
'''The successor function''' -- clicking the advance-to-next-time-group button, long clicking the advance-to-next-time-group button, Clicking the advance-time button, long clicking the advance-time button
'''Goal Test''' -- is the time 4:30pm?
'''Path Cost''' -- cost 1sec to simply click either button, cost 2sec (for holding the button long enough to start the long click) + x sec, where x is how many seconds you held the button for