Doing a wait or not wait for restaurant seat
The Decision Tree
http://oi62.tinypic.com/rr850n.jpg
Code here.
http://pastebin.com/KVuUTBGk
Question:
I want to add a summary of the results output like
example(yes, [Pat=full, WaitEstimate=30-60, Alt=no, Reservation=no, Bar=yes]).
If I enter the results as below
?- patrons.
What is the size of the Patrons?
|: full.
What is the estimate waiting time?(write in minutes, ex:50)
|: 60.
Is there any alternative?
|: no.
Have you made any reservation?
|: no.
Do they offer a comfortable bar area for customer to wait in?
|: yes.
Your decision is to wait!
true.
Comments
Leave a comment