Advertisement
Gabriele91

Conf fattorino

Mar 28th, 2015
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
D 1.25 KB | None | 0 0
  1. /*
  2.     Configuration
  3. */
  4. CONFIG
  5. {
  6.     robot 4             /* type uint, default is 0 */
  7.     doors not equals    /* type equals | not equals, default is not equals */
  8.     dfs   "test3/dfs.txt"       /* type string, if is not specified it isn't execute */
  9. //  bfs   "test3/bfs.txt"     /* type string, if is not specified it isn't execute */
  10. //  uc    "test3/uc.txt"      /* type string, if is not specified it isn't execute */
  11. //  iddfs "test3/iddfs.txt"   /* type string, if is not specified it isn't execute */
  12. }
  13.  
  14. /*
  15.     Setting the weights
  16.     type int [9] = { 0, 0, 0, 0, 0, 0, 0, 0, 0 }
  17.     You can set less of 9 element.
  18. */
  19. CONSTS
  20. {
  21.     0      //start
  22.    
  23.     1      //move prev
  24.     100    //move next
  25.    
  26.     2      //take
  27.     2      //leaves
  28.    
  29.     1      //open prev
  30.     1      //open next
  31.     4      //close prev
  32.     4      //close next
  33. }
  34.  
  35. /*
  36.     FIRST STATE
  37. */
  38. START
  39. {
  40.     /* 0 */  open  | Box("Pizza") Box("Cartone")  Key("1")  
  41.     /* 1 */  close |
  42.     /* 2 */  open  | Bread("0.5")
  43.     /* 3 */  close |
  44.     /* 4 */  open  | Bottle("Peroni")
  45.     /* 5 */  open  |
  46. }
  47.  
  48. /*
  49.     TARGET
  50. */
  51. END
  52. {
  53.     /* 0 */  open  | Key("1") Bottle("Peroni")  
  54.     /* 1 */  close |
  55.     /* 2 */  open  | Box("Pizza") Box("Cartone")
  56.     /* 3 */  close |
  57.     /* 4 */  open  |
  58.     /* 5 */  open  | Bread("0.5")
  59. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement