Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Configuration
- */
- CONFIG
- {
- robot 4 /* type uint, default is 0 */
- doors not equals /* type equals | not equals, default is not equals */
- dfs "test3/dfs.txt" /* type string, if is not specified it isn't execute */
- // bfs "test3/bfs.txt" /* type string, if is not specified it isn't execute */
- // uc "test3/uc.txt" /* type string, if is not specified it isn't execute */
- // iddfs "test3/iddfs.txt" /* type string, if is not specified it isn't execute */
- }
- /*
- Setting the weights
- type int [9] = { 0, 0, 0, 0, 0, 0, 0, 0, 0 }
- You can set less of 9 element.
- */
- CONSTS
- {
- 0 //start
- 1 //move prev
- 100 //move next
- 2 //take
- 2 //leaves
- 1 //open prev
- 1 //open next
- 4 //close prev
- 4 //close next
- }
- /*
- FIRST STATE
- */
- START
- {
- /* 0 */ open | Box("Pizza") Box("Cartone") Key("1")
- /* 1 */ close |
- /* 2 */ open | Bread("0.5")
- /* 3 */ close |
- /* 4 */ open | Bottle("Peroni")
- /* 5 */ open |
- }
- /*
- TARGET
- */
- END
- {
- /* 0 */ open | Key("1") Bottle("Peroni")
- /* 1 */ close |
- /* 2 */ open | Box("Pizza") Box("Cartone")
- /* 3 */ close |
- /* 4 */ open |
- /* 5 */ open | Bread("0.5")
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement