{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}


A merry old time ensues but the morning after due to

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: s, but the morning after, due to an accidental confundo charm (and perhaps also a large consumption of butterbeer), no one can remember the events that transpired. The 034 staff, in an attempt to show off the power of Muggle logic, promise they can piece together the important events with a rule based system. Using their keen sense of logic, Matt, Erica, and Mark are able to piece together the following rules: RULES: R0 : IF (?X) goes to MIT, THEN (?X) is a muggle, (?X) consumed butterbeer R1: IF (?X) made math jokes AND (?X) consumed butterbeer THEN (?X) was transfigured into a porcupine R2: IF (?Y) fancies (?X) AND (?X) fancies (?Y) AND (?Y) is a muggle THEN (?X) snogged (?Y) R3: IF (?X) fancies (?Y) AND (?X) made math jokes, THEN (?Y) fancies (?X) R4: IF (?X) made math jokes THEN (?X) goes to MIT You start with the following list of assertions which is all you have to go on. ASSERTIONS: A0: Olga made math jokes A1: Yuan goes to MIT A2: Jeremy made math jokes A3: Hermione consumed butterbeer A4: Jeremy fancies Hermione 2 Part A: Forward Chaining (24 points) Run forward chaining on the rules and assertions provided for the first 5 iterations. For the first two iterat...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online