The moat-and-castles problem described in the paper. Digging increases the depth of the moat up to depth of 4. Building a castle has success probability that depends on the depth of the moat. Motivated by the moat-and-castles domain of Littman and Majercik. By the way, everything up to the first parenthesis is a comment... (operator dig-moat (params (index )) (preconds (no-moat )) (effects (1.0 (del (no-moat )) (add (depth1-moat ))))) (operator dig-moat (params (index )) (preconds (depth1-moat )) (effects (1.0 (del (depth1-moat )) (add (depth2-moat ))))) (operator dig-moat (params (index )) (preconds (depth2-moat )) (effects (1.0 (del (depth2-moat )) (add (depth3-moat ))))) (operator dig-moat (params (index )) (preconds (depth3-moat )) (effects (1.0 (del (depth3-moat )) (add (depth4-moat ))))) (operator build-castle (params (index )) (preconds (no-moat )) (effects (0.25 (add (castle ))) (0.75))) (operator build-castle (params (index )) (preconds (depth1-moat )) (effects (0.45 (add (castle ))) (0.55))) (operator build-castle (params (index )) (preconds (depth2-moat )) (effects (0.60 (add (castle ))) (0.40))) (operator build-castle (params (index )) (preconds (depth3-moat )) (effects (0.70 (add (castle ))) (0.30))) (operator build-castle (params (index )) (preconds (depth4-moat )) (effects (0.75 (add (castle ))) (0.25)))