1// coffee example 2//( variables ( huc yes no ) ( hrc yes no ) ( w yes no ) ( r yes no ) ( u yes no ) ( l office shop ) ) 3( variables ( huc no yes ) ( hrc no yes ) ( w no yes ) ( r no yes ) ( u no yes ) ( l office shop ) ) 4action move 5huc ( huc ( yes ( 0.25 0.75 ) ) 6 ( no ( 1 0 ) ) ) 7hrc ( hrc ( yes ( 0 1 ) ) 8 ( no ( 1 0 ) ) ) 9w ( w ( yes ( 0 1 ) ) 10 ( no ( r ( yes ( u ( yes ( 0.9 0.1 ) ) 11 ( no ( 0.1 0.9 ) ) ) ) 12 ( no ( 1 0 ) ) ) ) ) 13r ( r ( yes ( 0.37 0.63 ) ) 14 ( no ( 0.63 0.37 ) ) ) 15u ( u ( yes ( 0 1 ) ) 16 ( no ( 1 0 ) ) ) 17l ( l ( office ( 0.1 0.9 ) ) 18 ( shop ( 0.9 0.1 ) ) ) 19endaction 20action delc 21huc ( huc ( yes ( 0 1 ) ) 22 ( no ( hrc ( yes ( l ( office ( 0.15 0.85 ) ) 23 ( shop ( 1 0 ) ) ) ) 24 ( no ( 1 0 ) ) ) ) ) 25hrc ( hrc ( yes ( l ( office ( 0.9 0.1 ) ) 26 ( shop ( 0.75 0.25 ) ) ) ) 27 ( no ( 1 0 ) ) ) 28w ( w ( yes ( 0 1 ) ) 29 ( no ( 1 0 ) ) ) 30r ( r ( yes ( 0.37 0.63 ) ) 31 ( no ( 0.63 0.37 ) ) ) 32u ( u ( yes ( 0 1 ) ) 33 ( no ( 1 0 ) ) ) 34l ( l ( office ( 1 0 ) ) 35 ( shop ( 0 1 ) ) ) 36 37endaction 38action getu 39huc ( huc ( yes ( 0.25 0.75 ) ) 40 ( no ( 1 0 ) ) ) 41hrc ( hrc ( yes ( 0 1 ) ) 42 ( no ( 1 0 ) ) ) 43w ( w ( yes ( 0 1 ) ) 44 ( no ( 1 0 ) ) ) 45r ( r ( yes ( 0.37 0.63 ) ) 46 ( no ( 0.63 0.37 ) ) ) 47u ( u ( yes ( 0 1 ) ) 48 ( no ( l ( office ( 0.1 0.9 ) ) 49 ( shop ( 1 0 ) ) ) ) ) 50l ( l ( office ( 1 0 ) ) 51 ( shop ( 0 1 ) ) ) 52endaction 53action buyc 54huc ( huc ( yes ( 0.25 0.75 ) ) 55 ( no ( 1 0 ) ) ) 56hrc ( hrc ( yes ( 0 1 ) ) 57 ( no ( l ( office ( 1 0 ) ) 58 ( shop ( 0.1 0.9 ) ) ) ) ) 59w ( w ( yes ( 0 1 ) ) 60 ( no ( 1 0 ) ) ) 61r ( r ( yes ( 0.37 0.63 ) ) 62 ( no ( 0.63 0.37 ) ) ) 63u ( u ( yes ( 0 1 ) ) 64 ( no ( 1 0 ) ) ) 65l ( l ( office ( 1 0 ) ) 66 ( shop ( 0 1 ) ) ) 67endaction 68reward ( huc ( yes ( w ( yes ( 9 ) ) 69 ( no ( 10 ) ) ) ) 70 ( no ( w ( yes ( 0 ) ) 71 ( no ( 1 ) ) ) ) ) 72discount 0.9 73tolerance 0.1 74