Finite state machine

48 views
Skip to first unread message

Med Ra

unread,
May 27, 2020, 11:53:40 PM5/27/20
to Racket Users
Dear All, i'm a new member in the group and also a debutante in racket programming and i will be happy if you read and understand what i'm asking .

I want create a finite state machine to represent an hotel room booking system.

first , i have created the FSM Scheme as the following :

about Rooms ---> (state (available) (unavailble))
two inputs ---> Time: T = 1 if some room will be available in the required entering date in future.
                  Full Of F = 1if all the rooms are full at the moment.

I just want some help about how create this on drracket coding, And please forgive my ignorance !

Thanks for attention.

John Clements

unread,
May 28, 2020, 2:21:08 PM5/28/20
to Med Ra, Racket Users
Good to hear from you!

Unfortunately, it’s going to be really hard to help you without more information.

Can you give us some context on what your goal is, here? Is this part of a class? Your problem seems very under-specified.

John
> --
> You received this message because you are subscribed to the Google Groups "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to racket-users...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/ee6807b0-8b02-40c1-8eeb-f41a01fa31d6%40googlegroups.com.



Reply all
Reply to author
Forward
0 new messages